updated to changed getquotas() function
This commit is contained in:
parent
80802d631b
commit
ff02918d44
|
@ -42,7 +42,9 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
|
||||||
|
|
||||||
// load quota list
|
// load quota list
|
||||||
if ($_SESSION['config']->get_scriptPath()) {
|
if ($_SESSION['config']->get_scriptPath()) {
|
||||||
$acct_q = getquotas("group");
|
$tempacc = new account();
|
||||||
|
$tempacc->type = "group";
|
||||||
|
$acct_q = getquotas(array($tempacc));
|
||||||
}
|
}
|
||||||
|
|
||||||
// print header
|
// print header
|
||||||
|
|
|
@ -42,7 +42,9 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
|
||||||
|
|
||||||
// load quota list
|
// load quota list
|
||||||
if ($_SESSION['config']->get_scriptPath()) {
|
if ($_SESSION['config']->get_scriptPath()) {
|
||||||
$acct_q = getquotas("user");
|
$tempacc = new account();
|
||||||
|
$tempacc->type = "user";
|
||||||
|
$acct_q = getquotas(array($tempacc));
|
||||||
}
|
}
|
||||||
|
|
||||||
// print header
|
// print header
|
||||||
|
|
Loading…
Reference in New Issue