Module: appdb Branch: master Commit: f4f040118d3314822f3552023b66e3b717e36805 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=f4f040118d3314822f3552023...
Author: Alexander Nicolaysen Sørnes alexsornes@gmail.com Date: Sun Jan 12 15:32:05 2014 +0100
version: Mark some functions as static
---
include/version.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/version.php b/include/version.php index b042939..7f5d7db 100644 --- a/include/version.php +++ b/include/version.php @@ -1196,7 +1196,7 @@ class version { return $ob->versionName; }
- function fullName($iVersionId) + public static function fullName($iVersionId) { if(!$iVersionId) return FALSE; @@ -1401,14 +1401,14 @@ class version { }
/* Returns an array containg the different software licences */ - public function getLicenses() + public static function getLicenses() { return array(LICENSE_RETAIL, LICENSE_OPENSOURCE, LICENSE_FREETOUSE, LICENSE_FREETOSHARE, LICENSE_DEMO, LICENSE_SHAREWARE); }
// returns a string containing the html for a selection list - public function makeLicenseList($sLicense = NULL) + public static function makeLicenseList($sLicense = NULL) { if(!$sLicense) $sLicense = $this->sLicense;