Rewrites/fixes for handling config entries in SQLs
[mailer.git] / inc / wrapper-functions.php
index c91f93e88c2ff2dacb6ec88956f376df6c1f8ae7..cee610df471d40f836d541a06e9e6907d6a30147 100644 (file)
@@ -956,18 +956,6 @@ function getHttpStatus () {
        return $GLOBALS['http_status'];
 }
 
-// Compiles config entries for SQL queries
-function compileSqlConfig ($sqlString) {
-       // Replace all
-       foreach (array('_MYSQL_PREFIX', '_TABLE_TYPE') as $configEntry) {
-               // "Compile" it
-               $sqlString = str_replace('{?' . $configEntry . '?}', getConfig($configEntry), $sqlString);
-       } // END - foreach
-
-       // Return the compiled SQL string
-       return $sqlString;
-}
-
 // Setter for 'is_template_html'
 function enableTemplateHtml ($enable = true) {
        $GLOBALS['is_template_html'] = (bool) $enable;