X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FVerb.php;h=714cae4209fd507669aff57ee8f1d5fef9b8ceef;hb=624e4c192c7f837ac0587a50da6e1409081eb519;hp=570c62d84090998f24b71057743626acb251887a;hpb=eeda115e32a9798116cfa506d4bc23a744d8a9ac;p=friendica.git diff --git a/src/Model/Verb.php b/src/Model/Verb.php index 570c62d840..714cae4209 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 '';