From b8ab8bf079d03ae4fc332b651397f49137a04a1f Mon Sep 17 00:00:00 2001
From: Dominik Mueller <info@profi-webdesign.net>
Date: Wed, 26 Feb 2014 18:06:00 -0500
Subject: [PATCH] fixed uses-error
---
interface/web/dashboard/dashlets/quota.php | 2 +-
interface/web/dashboard/dashlets/mailquota.php | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/interface/web/dashboard/dashlets/mailquota.php b/interface/web/dashboard/dashlets/mailquota.php
index 923784f..e0f6be2 100644
--- a/interface/web/dashboard/dashlets/mailquota.php
+++ b/interface/web/dashboard/dashlets/mailquota.php
@@ -3,10 +3,10 @@
class dashlet_mailquota {
function show() {
- global $app, $conf;
+ global $app;
//* Loading Template
- $app->uses('tpl');
+ $app->uses('tpl,quota_lib');
$tpl = new tpl;
$tpl->newTemplate("dashlets/templates/mailquota.htm");
diff --git a/interface/web/dashboard/dashlets/quota.php b/interface/web/dashboard/dashlets/quota.php
index 5675098..589de71 100644
--- a/interface/web/dashboard/dashlets/quota.php
+++ b/interface/web/dashboard/dashlets/quota.php
@@ -6,7 +6,7 @@
global $app;
//* Loading Template
- $app->uses('tpl','quota_lib');
+ $app->uses('tpl,quota_lib');
$tpl = new tpl;
$tpl->newTemplate("dashlets/templates/quota.htm");
--
Gitblit v1.9.1