Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: downloadurl: 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: 16b8b1ef8024a76cabb69e64ffe70ee189f6262e
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=16b8b1ef8024a76cabb69e64ffe70ee189f6262e

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

downloadurl: Mark a function as static

---

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

diff --git a/include/downloadurl.php b/include/downloadurl.php
index d4d4b03..312c542 100644
--- a/include/downloadurl.php
+++ b/include/downloadurl.php
@@ -45,7 +45,7 @@ class downloadurl
     }
 
     /* Display download links for a given version */
-    function display($iVersionId)
+    public static function display($iVersionId)
     {
         if(!($hResult = appData::getData($iVersionId, "downloadurl")))
             return FALSE;




More information about the wine-cvs mailing list