Get rid of most variable definitions in variables.inc.php

variables.inc.php is an old hack to save having to declare variables
before using them in pages.

Lots of the variables there are unused (leftovers from the old
create-*.php or edit-*.php scripts) or properly initialized in the file
using them, so there's no need to keep them in variables.inc.php.

The remaining variables in this file should also be dropped after
further investigation.
This commit is contained in:
Christian Boltz committed 2017-04-10 20:32:11 +02:00
1 parent b3b87385e0
commit f4f2d1b0f4
1 file changed
+2 -40
+2 -40
View File
@@ -15,55 +15,17 @@
* Contains varoius pre-defined variables.
*
* XXX Probably a hack to save having to declare variables before using them in pages.
*
* TODO: get rid of the remaining variables declared here!
*/
$error = "";
$quota = "";
$vacation = "";
$fActive = "";
$fAddress = "";
$fAliases = "";
$fBackupmx = "";
$fDelete = "";
$fDescription = "";
$fDomain = "";
$fFrom = "";
$fGoto = "";
$fHeaders = "";
$fMail = "";
$fMailboxes = "";
$fMaxquota = "";
$fName = "";
$fPassword = "";
$fPassword2 = "";
$fQuota = "";
$fSearch = "";
$fTable = "";
$fTransport = "";
$fTo = "";
$fUsername = "";
$fVacation = "";
$fWhere = "";
$tActive = "";
$tActive = "";
$tAddress = "";
$tAlias = "";
$tAliases = "";
$tBody = "";
$tDescription = "";
$tDomain = "";
$tDomains = "";
$tFrom = "";
$tGoto = "";
$tLog = "";
$tMailbox = "";
$tMailboxes = "";
$tMaxquota = "";
$tName = "";
$tQuota = "";
$tSubject = "";
$tUsername = "";
$tTransport = "";
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
?>