Commit 0e80d1bc authored by Dominik's avatar Dominik Committed by Dominik

Syntaxerror-korrektur

parent e8b3291e
<?php
class quota_lib {
public function get_quota_data(groupid = null, $readable = true) {
public function get_quota_data($groupid = null, $readable = true) {
global $app;
$tmp_rec = $app->db->queryAllRecords("SELECT data from monitor_data WHERE type = 'harddisk_quota' ORDER BY created DESC");
......@@ -14,7 +14,7 @@ class quota_lib {
//print_r($monitor_data);
if($groupid != null){
$sql_where = " AND sys_groupid = ".$groupid);
$sql_where = " AND sys_groupid = ".$groupid;
}
// select websites belonging to client
......@@ -115,7 +115,7 @@ class quota_lib {
}
if($groupid != null){
$sql_where = " AND sys_groupid = ".$groupid);
$sql_where = " AND sys_groupid = ".$groupid;
}
......
......@@ -199,9 +199,7 @@ class remoting {
}
$group_id = $app->functions->intval($group_id);
$sites = $app->quota_lib->get_quota_data($group_id, false);
return $sites;
return $app->quota_lib->get_quota_data($group_id, false);
}
public function mailquota_get_by_user($session_id, $group_id)
......@@ -215,9 +213,7 @@ class remoting {
}
$group_id = $app->functions->intval($group_id);
$sites = $app->quota_lib->get_quota_data($group_id, false);
return $sites;
return $app->quota_lib->get_quota_data($group_id, false);
}
//** protected functions -----------------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment