The branch, master has been updated
via 588a63e6c00ce7c8148bbb12c673d35fe8b35625 (commit)
from 00d7b8a659fd08fb06eaf253eefee3ce631c4572 (commit)
- Log -----------------------------------------------------------------
commit 588a63e6c00ce7c8148bbb12c673d35fe8b35625
Author: Michal Čihař <mcihar(a)novell.com>
Date: Thu May 13 11:23:57 2010 +0200
These globals are no longer needed.
-----------------------------------------------------------------------
Summary of changes:
test/PMA_localisedDateTimespan_test.php | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/test/PMA_localisedDateTimespan_test.php
b/test/PMA_localisedDateTimespan_test.php
index 2925bd5..e472373 100644
--- a/test/PMA_localisedDateTimespan_test.php
+++ b/test/PMA_localisedDateTimespan_test.php
@@ -49,7 +49,7 @@ class PMA_localisedDateTimespan_test extends PHPUnit_Framework_TestCase
$this->tmpGlobals = $GLOBALS;
$this->tmpSession = $_SESSION;
- $this->tmpTimezone = date_default_timezone_get();
+ $this->tmpTimezone = date_default_timezone_get();
date_default_timezone_set('Europe/London');
}
@@ -81,10 +81,6 @@ class PMA_localisedDateTimespan_test extends
PHPUnit_Framework_TestCase
*/
public function testLocalisedDate($a, $b, $e) {
- $GLOBALS['day_of_week'] = array('Sun', 'Mon',
'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
- $GLOBALS['month'] = array('Jan', 'Feb', 'Mar',
'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
'Oct', 'Nov', 'Dec');
- $GLOBALS['datefmt'] = '%B %d, %Y at %I:%M %p';
-
$this->assertEquals($e, PMA_localisedDate($a, $b));
}
hooks/post-receive
--
phpMyAdmin
Show replies by date