]> git.mxchange.org Git - friendica.git/blobdiff - mod/notifications.php
Merge pull request #8135 from annando/brief
[friendica.git] / mod / notifications.php
index 73730b50a52957e8ebaac07d7ce13c5d0753b3a0..e306f0c8a64d2cf86a41d6c719c6112fa6d560d8 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
  * @file mod/notifications.php
- * @brief The notifications module
+ * The notifications module
  */
 
 use Friendica\App;
@@ -31,14 +31,14 @@ function notifications_post(App $a)
        }
 
        if ($request_id) {
-               $Intro = DI::intro()->fetch(['id' => $request_id, 'uid' => local_user()]);
+               $intro = DI::intro()->selectFirst(['id' => $request_id, 'uid' => local_user()]);
 
                switch ($_POST['submit']) {
                        case L10n::t('Discard'):
-                               $Intro->discard();
+                               $intro->discard();
                                break;
                        case L10n::t('Ignore'):
-                               $Intro->ignore();
+                               $intro->ignore();
                                break;
                }