Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: monitor: Mark a function as static

Alexander Nicolaysen Sørnes asornes at winehq.org
Sun Jan 12 08:57:18 CST 2014


Module: appdb
Branch: master
Commit: e3709e80cfd88be2661ab80db8c2d836d1bd760c
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=e3709e80cfd88be2661ab80db8c2d836d1bd760c

Author: Alexander Nicolaysen Sørnes <alexsornes at gmail.com>
Date:   Sun Jan 12 15:24:41 2014 +0100

monitor: Mark a function as static

---

 include/monitor.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/monitor.php b/include/monitor.php
index f8a95cf..ab72fc3 100644
--- a/include/monitor.php
+++ b/include/monitor.php
@@ -369,7 +369,7 @@ class Monitor {
     }
 
     /* Retrieve the user's monitored versions */
-    function getVersionsMonitored($oUser)
+    public static function getVersionsMonitored($oUser)
     {
          $hResult = query_parameters("SELECT appId, versionId FROM appMonitors WHERE userId = '?'", $oUser->iUserId);
 




More information about the wine-cvs mailing list