]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/User.php
Merge pull request #13331 from annando/paging-search
[friendica.git] / src / Model / User.php
index 854961154b5dfe56772dc11c70c7d4314a1eaae0..89d75849fe9430057a65a34953c718e7b68d516f 100644 (file)
@@ -132,6 +132,17 @@ class User
                return null;
        }
 
+       /**
+        * Get the Uri-Id of the system account
+        *
+        * @return integer
+        */
+       public static function getSystemUriId(): int
+       {
+               $system = self::getSystemAccount();
+               return $system['uri-id'] ?? 0;
+       }
+
        /**
         * Fetch the system account
         *