X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FItemURI.php;h=8e39ebd1cb23cc2f17ba2cea663d28ef5347b8a5;hb=5a07afbc14d31be8dd6cd50884bbbe1f52e8b331;hp=452f7e57c8e3838d3da43e97878a8e12734c27ed;hpb=3d14977b73c5d42e3cc8bb8c6f0ca94435ab5a61;p=friendica.git diff --git a/src/Model/ItemURI.php b/src/Model/ItemURI.php index 452f7e57c8..8e39ebd1cb 100644 --- a/src/Model/ItemURI.php +++ b/src/Model/ItemURI.php @@ -9,8 +9,6 @@ namespace Friendica\Model; use Friendica\BaseObject; use Friendica\Database\DBA; -require_once 'boot.php'; - class ItemURI extends BaseObject { /** @@ -19,6 +17,7 @@ class ItemURI extends BaseObject * @param array $fields Item-uri fields * * @return integer item-uri id + * @throws \Exception */ public static function insert($fields) { @@ -45,6 +44,7 @@ class ItemURI extends BaseObject * @param string $uri * * @return integer item-uri id + * @throws \Exception */ public static function getIdByURI($uri) {