refactor: Add isBuildServer method to Server model
This commit is contained in:
@@ -927,4 +927,7 @@ $schema://$host {
|
|||||||
}
|
}
|
||||||
return $this->user !== 'root';
|
return $this->user !== 'root';
|
||||||
}
|
}
|
||||||
|
public function isBuildServer() {
|
||||||
|
return $this->settings->is_build_server;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user