]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Process.php
Added documentation
[friendica.git] / src / Model / Process.php
index 40f0c52bdb4e361b9a3ef8f5d8bd57e890cf9b8c..f70b12ba7c64ba387ef24d9ae5177a3d5b190f39 100644 (file)
@@ -8,8 +8,6 @@ use Friendica\BaseObject;
 use Friendica\Database\DBA;
 use Friendica\Util\DateTimeFormat;
 
-require_once 'include/dba.php';
-
 /**
  * @brief functions for interacting with a process
  */
@@ -21,6 +19,7 @@ class Process extends BaseObject
         * @param string $command
         * @param string $pid
         * @return bool
+        * @throws \Exception
         */
        public static function insert($command, $pid = null)
        {
@@ -46,6 +45,7 @@ class Process extends BaseObject
         *
         * @param string $pid
         * @return bool
+        * @throws \Exception
         */
        public static function deleteByPid($pid = null)
        {