]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/FContact.php
Standards
[friendica.git] / src / Model / FContact.php
index 3c56e5a0db70f67cf6f0fab2684271d288993462..cf75a03dbc1df976ecc84c505d7fde2325df95ad 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -25,7 +25,6 @@ use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
 use Friendica\Database\DBA;
 use Friendica\DI;
-use Friendica\Model\Notify\Type;
 use Friendica\Network\Probe;
 use Friendica\Protocol\Activity;
 use Friendica\Util\DateTimeFormat;
@@ -181,8 +180,8 @@ class FContact
                DBA::insert('intro', $fields);
 
                notification([
-                       'type'  => Type::SUGGEST,
-                       'otype' => Notify\ObjectType::INTRO,
+                       'type'  => Notification\Type::SUGGEST,
+                       'otype' => Notification\ObjectType::INTRO,
                        'verb'  => Activity::REQ_FRIEND,
                        'uid'   => $owner['uid'],
                        'cid'   => $from_contact['uid'],