From 43449e49c06b7924836dc88703a8ca35eb40a635 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 12 Apr 2011 18:19:09 -0700 Subject: [PATCH] Very basic system agent support. --- resources/sql/patches/028.systemagent.sql | 2 ++ src/applications/people/storage/user/PhabricatorUser.php | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 resources/sql/patches/028.systemagent.sql diff --git a/resources/sql/patches/028.systemagent.sql b/resources/sql/patches/028.systemagent.sql new file mode 100644 index 0000000000..5a837d4b60 --- /dev/null +++ b/resources/sql/patches/028.systemagent.sql @@ -0,0 +1,2 @@ +ALTER TABLE phabricator_user.user + ADD isSystemAgent bool not null default 0; \ No newline at end of file diff --git a/src/applications/people/storage/user/PhabricatorUser.php b/src/applications/people/storage/user/PhabricatorUser.php index efc7c9ebb9..400a57ad2a 100644 --- a/src/applications/people/storage/user/PhabricatorUser.php +++ b/src/applications/people/storage/user/PhabricatorUser.php @@ -34,6 +34,8 @@ class PhabricatorUser extends PhabricatorUserDAO { protected $conduitCertificate; + protected $isSystemAgent; + private $preferences = null; public function getProfileImagePHID() {