cleaning up unused imports

This commit is contained in:
Pepijn Over 2014-05-06 15:41:21 +02:00
parent 7414c6e99e
commit 34a22a7914
2 changed files with 3 additions and 6 deletions

View File

@ -338,12 +338,9 @@ function psm_date($time) {
* Check if an update is available for PHP Server Monitor.
*
* Will only check for new version if user turned updates on in config.
* @global object $db
* @return boolean
*/
function psm_update_available() {
global $db;
if(!psm_get_conf('show_update')) {
// user does not want updates, fair enough.
return false;
@ -542,7 +539,9 @@ function psm_is_cli() {
*/
function pre($arr = null) {
echo "<pre>";
if ($arr === null) debug_print_backtrace();
if ($arr === null) {
debug_print_backtrace();
}
print_r($arr);
echo "</pre>";
}

View File

@ -27,8 +27,6 @@
**/
namespace psm\Module;
use psm\Service\Database;
use psm\Service\Template;
interface ModuleInterface {