]> git.agnieray.net Git - galette.git/commitdiff
Non static called statically
authorJohan Cwiklinski <johan@x-tnd.be>
Thu, 11 Jun 2020 21:51:27 +0000 (23:51 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 11 Jun 2020 21:51:27 +0000 (23:51 +0200)
galette/lib/Galette/Util/Telemetry.php

index 1dd5f5c63187956aa9dff638ef1894a9df9e3e43..114bb63851366c0475c58c9bf18a3f56b6620463 100644 (file)
@@ -333,7 +333,7 @@ class Telemetry
         $param = 'pref_' . $type . '_uuid';
         $uuid = $this->prefs->$param;
         if (empty($uuid)) {
-            $uuid = self::generateUuid($type);
+            $uuid = $this->generateUuid($type);
         }
         return $uuid;
     }
@@ -382,7 +382,7 @@ class Telemetry
      */
     final public function generateInstanceUuid()
     {
-        return self::generateUuid('instance');
+        return $this->generateUuid('instance');
     }
 
     /**
@@ -392,7 +392,7 @@ class Telemetry
      */
     final public function generateRegistrationUuid()
     {
-        return self::generateUuid('registration');
+        return $this->generateUuid('registration');
     }
 
     /**