Fix symbol clash between $user->watch fetched by default query and
[platal.git] / classes / user.php
index b99bc3a..17ee862 100644 (file)
@@ -432,7 +432,7 @@ class User extends PlUser
         $this->fillFromArray($watch);
     }
 
-    public function watch($type)
+    public function watchType($type)
     {
         $this->fetchWatchData();
         return $this->watch_actions->hasFlag($type);