The branch, master has been updated
via 29cc23905784221598960c1434c010b36cdcdeb0 (commit)
from a8852c5dc9afd08a3bf00eea4273aef1bca6316e (commit)
- Log -----------------------------------------------------------------
commit 29cc23905784221598960c1434c010b36cdcdeb0
Author: Marc Delisle <marc(a)infomarc.info>
Date: Tue Aug 3 13:14:25 2010 -0400
unused code
-----------------------------------------------------------------------
Summary of changes:
libraries/blobstreaming.lib.php | 31 -------------------------------
1 files changed, 0 insertions(+), 31 deletions(-)
diff --git a/libraries/blobstreaming.lib.php b/libraries/blobstreaming.lib.php
index fc845e8..707fc24 100644
--- a/libraries/blobstreaming.lib.php
+++ b/libraries/blobstreaming.lib.php
@@ -46,7 +46,6 @@ function initPBMSDatabase()
* @uses PMA_Config::get()
* @uses PMA_Config::settings()
* @uses PMA_Config::set()
- * @uses PMA_BS_SetVariables()
* @uses PMA_BS_GetVariables()
* @uses PMA_cacheSet()
* @uses PMA_cacheGet()
@@ -203,36 +202,6 @@ function checkBLOBStreamingPlugins()
}
/**
- * sets BLOBStreaming variables to a list of specified arguments
- * @access public
- * @uses PMA_DBI_query()
- * @returns boolean - success of variables setup
-*/
-
-function PMA_BS_SetVariables($bs_variables)
-{
- // if no variables exist in array, return false
- if (empty($bs_variables) || count($bs_variables) == 0)
- return FALSE;
-
- // set BS variables to those specified in array
- foreach ($bs_variables as $key=>$val)
- if (!is_null($val) && strlen($val) > 0)
- {
- // set BS variable to specified value
- $query = "SET GLOBAL $key=" . PMA_sqlAddSlashes($val);
- $result = PMA_DBI_query($query);
-
- // if query fails execution, return false
- if (!$result)
- return FALSE;
- } // end if (!is_null($val) && strlen($val) > 0)
-
- // return true on success
- return TRUE;
-}
-
-/**
* returns a list of BLOBStreaming variables used by MySQL
*
* @access public
hooks/post-receive
--
phpMyAdmin
Show replies by date