]> git.mxchange.org Git - friendica.git/blobdiff - mod/fsuggest.php
Merge pull request #4243 from MrPetovan/task/switch-to-array-new-style
[friendica.git] / mod / fsuggest.php
index c2d9455b0d8d7e0519e956d299de63fade8909da..926bb25f0747caff035a69df2737b3bb581c28f0 100644 (file)
@@ -1,5 +1,7 @@
 <?php
-
+/**
+ * @file mod/fsuggest.php
+ */
 use Friendica\App;
 use Friendica\Core\Worker;
 use Friendica\Database\DBM;
@@ -61,7 +63,7 @@ function fsuggest_post(App $a) {
                                        intval($fsuggest_id),
                                        intval(local_user())
                                );
-                               Worker::add(PRIORITY_HIGH, 'notifier', 'suggest', $fsuggest_id);
+                               Worker::add(PRIORITY_HIGH, 'Notifier', 'suggest', $fsuggest_id);
                        }
 
                        info( t('Friend suggestion sent.') . EOL);
@@ -109,7 +111,7 @@ function fsuggest_content(App $a)
        $o .= contact_selector(
                'suggest',
                'suggest-select',
-               array('size' => 4, 'exclude' => $contact_id, 'networks' => 'DFRN_ONLY', 'single' => true),
+               ['size' => 4, 'exclude' => $contact_id, 'networks' => 'DFRN_ONLY', 'single' => true],
                false
        );