Alexander Nicolaysen Sørnes : url: Mark some functions as static
Module: appdb Branch: master Commit: 6d54925913dca1dc3c7840cf04030c6316b19233 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=6d54925913dca1dc3c7840cf0... Author: Alexander Nicolaysen Sørnes <alexsornes(a)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 == "")
participants (1)
-
Alexander Nicolaysen Sørnes