From 532675ab3bb9a586574ab324d6f246bc50747fed Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Fri, 18 Jul 2008 23:21:59 +0000 Subject: [PATCH] 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 --- functions.inc.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/functions.inc.php b/functions.inc.php index 8c770ddf..6303c406 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -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.