summaryrefslogtreecommitdiffstats
path: root/inc/module.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-10 17:47:43 +0200
committerSimon Rettberg2017-05-10 17:47:43 +0200
commitd25fbbb304647219a5c7e62ee7c9216190848898 (patch)
treef63ce846cdffd88cae7d079c26b2b2bdecb08926 /inc/module.inc.php
parentAdd support to declare multiple css/js per module with loading condition: (diff)
downloadslx-admin-d25fbbb304647219a5c7e62ee7c9216190848898.tar.gz
slx-admin-d25fbbb304647219a5c7e62ee7c9216190848898.tar.xz
slx-admin-d25fbbb304647219a5c7e62ee7c9216190848898.zip
Remove debug logging
Diffstat (limited to 'inc/module.inc.php')
-rw-r--r--inc/module.inc.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/inc/module.inc.php b/inc/module.inc.php
index 52646983..7211c68c 100644
--- a/inc/module.inc.php
+++ b/inc/module.inc.php
@@ -263,15 +263,12 @@ class Module
public function getScripts($externalOnly)
{
- error_log($this->getIdentifier() . ' = ' . ($externalOnly ? 'true' : 'false'));
if (!$externalOnly) {
if (!isset($this->scripts['clientscript.js']) && file_exists($this->getDir() . '/clientscript.js')) {
$this->scripts['clientscript.js'] = false;
}
return array_keys($this->scripts);
}
- error_log('Pre: ' . implode(', ', array_keys($this->scripts)));
- error_log('Post: ' . implode(', ', array_keys(array_filter($this->scripts))));
return array_keys(array_filter($this->scripts));
}