Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: distribution: 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: 71ac4f0c838324748f17d8e2a526153318c9a849
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=71ac4f0c838324748f17d8e2a526153318c9a849
Author: Alexander Nicolaysen Sørnes <alexsornes at gmail.com>
Date: Sun Jan 12 15:34:44 2014 +0100
distribution: Mark some functions as static
---
include/distribution.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/distribution.php b/include/distribution.php
index 354e585..3031d6d 100644
--- a/include/distribution.php
+++ b/include/distribution.php
@@ -504,7 +504,7 @@ class distribution {
}
/* Get the total number of Distributions in the database */
- function objectGetEntriesCount($sState, $oFilter = null)
+ public static function objectGetEntriesCount($sState, $oFilter = null)
{
/* Not implemented */
if($sState == 'rejected')
@@ -528,7 +528,7 @@ class distribution {
}
/* Make a dropdown list of distributions */
- function make_distribution_list($varname, $cvalue)
+ public static function make_distribution_list($varname, $cvalue)
{
$sQuery = "SELECT name, distributionId FROM distributions
WHERE state = 'accepted'
@@ -572,7 +572,7 @@ class distribution {
return 'name';
}
- function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = "name", $bAscending = TRUE, $oFilter = null)
+ public static function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = "name", $bAscending = TRUE, $oFilter = null)
{
/* Not implemented */
if($sState == 'rejected')
More information about the wine-cvs
mailing list