]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/NoScrape.php
Fix user-contact rows not being updated in Contact\User::updateByContactUpdate
[friendica.git] / src / Module / NoScrape.php
index 96e4d7658decc23253da1d3fe1d47fdc50e6f317..06bce3e2486d97bb4c43c40f0a1ea0267d236202 100644 (file)
@@ -35,14 +35,14 @@ use Friendica\Model\User;
  */
 class NoScrape extends BaseModule
 {
-       public static function rawContent()
+       public function rawContent()
        {
                $a = DI::app();
 
-               if (isset(static::$parameters['nick'])) {
+               if (isset($this->parameters['nick'])) {
                        // Get infos about a specific nick (public)
-                       $which = static::$parameters['nick'];
-               } elseif (local_user() && isset(static::$parameters['profile']) && DI::args()->get(2) == 'view') {
+                       $which = $this->parameters['nick'];
+               } elseif (local_user() && isset($this->parameters['profile']) && DI::args()->get(2) == 'view') {
                        // view infos about a known profile (needs a login)
                        $which = $a->getLoggedInUserNickname();
                } else {