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.
pull/24/head
Christian Boltz 8 years ago
parent b3b87385e0
commit f4f2d1b0f4
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

@ -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: */
?>

Loading…
Cancel
Save