functions.php

- removed (now) unused function table_by_pos
  I'm quite sure we won't need it again, basically it answered questions 
  like "what's the 3rd table in $CONF['database_tables']?"


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@407 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 17 years ago
parent 8f5f9a0df3
commit 532675ab3b

@ -1691,24 +1691,6 @@ function table_by_key ($table_key)
//
// table_by_pos
// Action: Return table name for given position
// Call: table_by_pos (int pos)
//
function table_by_pos ($pos)
{
global $CONF;
$x=0;
foreach($CONF['database_tables'] as $i=>$v)
{
if($pos==$x++) return table_by_key ($i);
}
return false;
}
/*
Called after a mailbox has been created in the DBMS.
Returns: boolean.

Loading…
Cancel
Save