diff options
Diffstat (limited to 'app/Api/Me.php')
-rw-r--r-- | app/Api/Me.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Api/Me.php b/app/Api/Me.php index df8ec070..ccc809ed 100644 --- a/app/Api/Me.php +++ b/app/Api/Me.php @@ -38,6 +38,10 @@ class Me extends Base public function createMyPrivateProject($name, $description = null) { + if ($this->config->get('disable_private_project', 0) == 1) { + return false; + } + $values = array( 'name' => $name, 'description' => $description, |