Commit d4c3a260 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add IsNonLocal() method.

parent 6ab7ce7b
......@@ -166,6 +166,9 @@ class Project
function genesis() { return $this->field("genesis"); }
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);
}
function wwwBase() {
global $TBWWW;
......
Supports Markdown
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