]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/ItemURI.php
Merge pull request #8199 from nupplaphil/bug/8197_intro_notif_stuck
[friendica.git] / src / Model / ItemURI.php
index 452f7e57c8e3838d3da43e97878a8e12734c27ed..a5054a803d93d4eccc93ceb6aa02e3c6714d6b87 100644 (file)
@@ -6,19 +6,17 @@
 
 namespace Friendica\Model;
 
-use Friendica\BaseObject;
 use Friendica\Database\DBA;
 
-require_once 'boot.php';
-
-class ItemURI extends BaseObject
+class ItemURI
 {
        /**
-        * @brief Insert an item-uri record and return its id
+        * Insert an item-uri record and return its id
         *
         * @param array $fields Item-uri fields
         *
         * @return integer item-uri id
+        * @throws \Exception
         */
        public static function insert($fields)
        {
@@ -40,11 +38,12 @@ class ItemURI extends BaseObject
        }
 
        /**
-        * @brief Searched for an id of a given uri. Adds it, if not existing yet.
+        * Searched for an id of a given uri. Adds it, if not existing yet.
         *
         * @param string $uri
         *
         * @return integer item-uri id
+        * @throws \Exception
         */
        public static function getIdByURI($uri)
        {