Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -1850,16 +1850,6 @@ |
1851 | 1851 | } |
1852 | 1852 | |
1853 | 1853 | /** |
1854 | | - * Convenience function; returns MediaWiki timestamp for the present time. |
1855 | | - * |
1856 | | - * @return string |
1857 | | - */ |
1858 | | -function wfTimestampNow() { |
1859 | | - # return NOW |
1860 | | - return wfTimestamp( TS_MW, time() ); |
1861 | | -} |
1862 | | - |
1863 | | -/** |
1864 | 1854 | * Reference-counted warning suppression |
1865 | 1855 | * |
1866 | 1856 | * @param $end Bool |
— | — | @@ -2095,6 +2085,16 @@ |
2096 | 2086 | } |
2097 | 2087 | |
2098 | 2088 | /** |
| 2089 | + * Convenience function; returns MediaWiki timestamp for the present time. |
| 2090 | + * |
| 2091 | + * @return string |
| 2092 | + */ |
| 2093 | +function wfTimestampNow() { |
| 2094 | + # return NOW |
| 2095 | + return wfTimestamp( TS_MW, time() ); |
| 2096 | +} |
| 2097 | + |
| 2098 | +/** |
2099 | 2099 | * Check if the operating system is Windows |
2100 | 2100 | * |
2101 | 2101 | * @return Bool: true if it's Windows, False otherwise. |