Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-27 21:31:09 +0300
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-27 21:31:09 +0300
commitfc0c5bb995fc49729e9771b559fd93ac758f64d7 (patch)
tree5d9b035b359f4fcb007d61b6f542e9e667f9f49a /plugins/Installation
parent38ec5ae104b3182c783a85fc26a6a1a883aab6ba (diff)
refs #1092, fix to functionExists()
Diffstat (limited to 'plugins/Installation')
-rw-r--r--plugins/Installation/Controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php
index 672d90c816..496ed7eb72 100644
--- a/plugins/Installation/Controller.php
+++ b/plugins/Installation/Controller.php
@@ -775,7 +775,7 @@ class Piwik_Installation_Controller extends Piwik_Controller
* @param string $functionName Function name
* @return bool True if function exists (not disabled); False otherwise.
*/
- protected function functionExists($functionName)
+ public static function functionExists($functionName)
{
if(extension_loaded('suhosin'))
{
@@ -786,7 +786,7 @@ class Piwik_Installation_Controller extends Piwik_Controller
return function_exists($functionName) && !in_array($functionName, $blacklistFunctions);
}
- return function_exists($functionName);
}
+ return function_exists($functionName);
}
}