X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FModel%2FVerb.php;h=6986c2d763376c4ce94bf3e91b0c390eab633224;hb=2e05dac7dae0a3d028b442a2d5afbd4176a32e99;hp=570c62d84090998f24b71057743626acb251887a;hpb=eeda115e32a9798116cfa506d4bc23a744d8a9ac;p=friendica.git diff --git a/src/Model/Verb.php b/src/Model/Verb.php index 570c62d840..6986c2d763 100644 --- a/src/Model/Verb.php +++ b/src/Model/Verb.php @@ -1,6 +1,6 @@ $verb], true); + DBA::insert('verb', ['name' => $verb], Database::INSERT_IGNORE); return DBA::lastInsertId(); } @@ -55,7 +56,7 @@ class Verb * @param integer $id * @return string verb */ - public static function getbyID(int $id) + public static function getByID(int $id) { if (empty($id)) { return '';