]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Session/DatabaseSessionHandler.php
Fix types in doc blocks/prototypes
[friendica.git] / src / Core / Session / DatabaseSessionHandler.php
index c4f23b1bfc6424dc3beba1947b0133768b9ea3f2..9bb1180ec1956aa6d1d8d2127c52e1464f41aeba 100644 (file)
@@ -8,10 +8,6 @@ use Friendica\Core\Session;
 use Friendica\Database\DBA;
 use SessionHandlerInterface;
 
-require_once 'boot.php';
-require_once 'include/dba.php';
-require_once 'include/text.php';
-
 /**
  * SessionHandler using database
  *
@@ -50,6 +46,7 @@ class DatabaseSessionHandler extends BaseObject implements SessionHandlerInterfa
         * @param  string $session_id   Session ID with format: [a-z0-9]{26}
         * @param  string $session_data Serialized session data
         * @return boolean Returns false if parameters are missing, true otherwise
+        * @throws \Exception
         */
        public function write($session_id, $session_data)
        {