]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/ItemURI.php
spelling: the
[friendica.git] / src / Model / ItemURI.php
index 3194097f31ad0e5bbad4680b1c2580793267db4f..1755552299741b6884060ea8e4452c75b4aac13d 100644 (file)
@@ -81,4 +81,14 @@ class ItemURI
 
                return $itemuri['id'] ?? 0;
        }
+
+       /**
+        * @param int $uriId
+        * @return bool
+        * @throws \Exception
+        */
+       public static function exists(int $uriId): bool
+       {
+               return DBA::exists('item-uri', ['id' => $uriId]);
+       }
 }