1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-31 10:04:20 +03:00

various files:

- get rid of global $table_* variables, use table_by_key() instead



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1601 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
Christian Boltz
2013-12-08 19:41:01 +00:00
parent 9f062cf181
commit 252ae047d5
4 changed files with 16 additions and 32 deletions

View File

@ -544,19 +544,7 @@ $dispatcher = new PostfixAdmin($argv);
$CONF = Config::read('all');
//bugfix shitty globals and OOP.....
#$table_admin = table_by_key ('admin');
$table_alias = table_by_key ('alias');
#$table_alias_domain = table_by_key ('alias_domain');
$table_domain = table_by_key ('domain');
$table_domain_admins = table_by_key ('domain_admins');
$table_log = table_by_key ('log');
$table_mailbox = table_by_key ('mailbox');
$table_vacation = table_by_key ('vacation');
$table_vacation_notification = table_by_key('vacation_notification');
$table_quota = table_by_key ('quota');
$table_quota2 = table_by_key ('quota2');
$dispatcher->dispatch();
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
?>