Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: url: Mark some functions as static

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


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

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

url: Mark some functions as static

---

 include/url.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/url.php b/include/url.php
index 15d33ef..9f0e3fc 100644
--- a/include/url.php
+++ b/include/url.php
@@ -474,7 +474,7 @@ class Url {
     }
 
     /* Display links for a given version/application */
-    function display($iVersionId, $iAppId = NULL)
+    public static function display($iVersionId, $iAppId = NULL)
     {
         if($iVersionId)
         {
@@ -543,7 +543,7 @@ class Url {
 
     // if a url lacks "://" assume the url is an http one
     // and prepend "http://"
-    function normalize($sTheUrl)
+    public static function normalize($sTheUrl)
     {
         // return if we have an empty string
         if($sTheUrl == "")




More information about the wine-cvs mailing list