This commit is contained in:
Paula Quispe
2019-05-29 09:53:13 -04:00
parent d93c713297
commit 05d713c847
9 changed files with 10 additions and 10 deletions

View File

@@ -1839,7 +1839,7 @@ class Bootstrap
* *
* @return multitype:string mixed Ambigous <number, string> * @return multitype:string mixed Ambigous <number, string>
*/ */
public function parseNormalUri($aRequestUri, array $arrayFriendlyUri = null) public static function parseNormalUri($aRequestUri, array $arrayFriendlyUri = null)
{ {
if (substr($aRequestUri[1], 0, 3) == 'sys') { if (substr($aRequestUri[1], 0, 3) == 'sys') {
define('SYS_TEMP', substr($aRequestUri[1], 3)); define('SYS_TEMP', substr($aRequestUri[1], 3));

View File

@@ -213,7 +213,7 @@ class RBAC
* @access public * @access public
* @return object * @return object
*/ */
public function &getSingleton() public static function &getSingleton()
{ {
if (self::$instance == null) { if (self::$instance == null) {
self::$instance = new RBAC(); self::$instance = new RBAC();

View File

@@ -126,7 +126,7 @@ class Log
* @access public * @access public
* @since Log 1.0 * @since Log 1.0
*/ */
function &factory($handler, $name = '', $ident = '', $conf = array(), public static function &factory($handler, $name = '', $ident = '', $conf = array(),
$level = PEAR_LOG_DEBUG) $level = PEAR_LOG_DEBUG)
{ {
$handler = strtolower($handler); $handler = strtolower($handler);
@@ -188,7 +188,7 @@ class Log
* @access public * @access public
* @since Log 1.0 * @since Log 1.0
*/ */
function &singleton($handler, $name = '', $ident = '', $conf = array(), public static function &singleton($handler, $name = '', $ident = '', $conf = array(),
$level = PEAR_LOG_DEBUG) $level = PEAR_LOG_DEBUG)
{ {
static $instances; static $instances;

View File

@@ -6976,7 +6976,7 @@ class Cases
return isset($row['DEL_INDEX']) ? $row['DEL_INDEX'] : 0; return isset($row['DEL_INDEX']) ? $row['DEL_INDEX'] : 0;
} }
public function clearCaseSessionData() public static function clearCaseSessionData()
{ {
if (isset($_SESSION['APPLICATION'])) { if (isset($_SESSION['APPLICATION'])) {
unset($_SESSION['APPLICATION']); unset($_SESSION['APPLICATION']);

View File

@@ -22,7 +22,7 @@ class EnterpriseClass extends PMPlugin
{ {
} }
public function enterpriseSystemUpdate($data) //$data = $oData public static function enterpriseSystemUpdate($data) //$data = $oData
{ {
if (count(glob(PATH_DATA_SITE . 'license/*.dat')) == 0) { if (count(glob(PATH_DATA_SITE . 'license/*.dat')) == 0) {
return; return;

View File

@@ -101,7 +101,7 @@ class AppDelay extends BaseAppDelay
* *
* @return boolean * @return boolean
*/ */
public function isPaused($appUid, $delIndex) public static function isPaused($appUid, $delIndex)
{ {
$criteria = new Criteria('workflow'); $criteria = new Criteria('workflow');
$criteria->add(AppDelayPeer::APP_UID, $appUid); $criteria->add(AppDelayPeer::APP_UID, $appUid);

View File

@@ -797,7 +797,7 @@ class AppDelegation extends BaseAppDelegation
* @param integer $index, Index to review * @param integer $index, Index to review
* @return array * @return array
*/ */
public function getCurrentUsers($appUid, $index) public static function getCurrentUsers($appUid, $index)
{ {
$oCriteria = new Criteria(); $oCriteria = new Criteria();
$oCriteria->addSelectColumn(AppDelegationPeer::USR_UID); $oCriteria->addSelectColumn(AppDelegationPeer::USR_UID);

View File

@@ -1023,7 +1023,7 @@ class System
* *
* @return array $skinListArray * @return array $skinListArray
*/ */
public function getSkingList() public static function getSkingList()
{ {
//Create Skins custom folder if it doesn't exists //Create Skins custom folder if it doesn't exists
if (!is_dir(PATH_CUSTOM_SKINS)) { if (!is_dir(PATH_CUSTOM_SKINS)) {

View File

@@ -409,7 +409,7 @@ class Server implements iAuthenticate
return $this->server; return $this->server;
} }
public function getUserId() public static function getUserId()
{ {
return self::$userId; return self::$userId;
} }