Commit f8a93b90 authored by Leigh Stoller's avatar Leigh Stoller

Add IsNonLocal() predicate.

parent 1c428380
......@@ -349,6 +349,10 @@ class User
function isAPT() { return $this->genesis() == "aptlab" ? 1 : 0; }
function isCloud() { return $this->genesis() == "cloudlab" ? 1 : 0; }
function IsNonLocal() {
return ($this->field("nonlocal_id") ? 1 : 0);
}
# Temporary data storage ... useful.
function SetTempData($value) {
$this->tempdata = $value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment