PMC-840
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
4
thirdparty/pear/Log.php
vendored
4
thirdparty/pear/Log.php
vendored
@@ -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;
|
||||||
|
|||||||
@@ -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']);
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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)) {
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user