mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
Gremlins in the options machine.
git-svn-id: https://develop.svn.wordpress.org/trunk@1206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -50,7 +50,6 @@ function mysql2date($dateformatstring, $mysqlstring, $use_b2configmonthsdays = 1
|
||||
}
|
||||
|
||||
function current_time($type, $gmt = 0) {
|
||||
$time_difference = get_settings('time_difference');
|
||||
switch ($type) {
|
||||
case 'mysql':
|
||||
if ($gmt) $d = gmdate('Y-m-d H:i:s');
|
||||
@@ -300,9 +299,6 @@ function get_settings($setting) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// until we switch to using 'gmt_offset' everywhere
|
||||
$setting = str_replace('time_difference', 'gmt_offset', $setting);
|
||||
|
||||
if ( (empty($cache_settings)) ) {
|
||||
$settings = get_alloptions();
|
||||
$cache_settings = $settings;
|
||||
|
||||
Reference in New Issue
Block a user