Module: appdb Branch: master Commit: 62e956692f28181d8d6a26329bbc36e2d99a4d16 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=62e956692f28181d8d6a26329...
Author: Alexander Nicolaysen Sørnes alexsornes@gmail.com Date: Sun Jan 12 15:23:11 2014 +0100
Bug: Mark some functions as static
---
include/bugs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/bugs.php b/include/bugs.php index c2447bb..d933b7c 100644 --- a/include/bugs.php +++ b/include/bugs.php @@ -411,7 +411,7 @@ class Bug return $oFilter; }
- function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = '', $bAscending = true, $oFilters = null) + public static function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = '', $bAscending = true, $oFilters = null) { $sExtraTables = ''; $aOptions = $oFilters ? $oFilters->getOptions() : array('onlyWithoutMaintainers' => 'false', 'onlyMyMaintainedEntries' => 'false'); @@ -483,7 +483,7 @@ class Bug return $hResult; }
- function objectGetEntriesCount($sState, $oFilters = null) + public static function objectGetEntriesCount($sState, $oFilters = null) { $sExtraTables = ''; $aOptions = $oFilters ? $oFilters->getOptions() : array('onlyWithoutMaintainers' => 'false', 'onlyMyMaintainedEntries' => 'false');