diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-09-17 07:11:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-09-17 07:11:59 +0000 |
commit | 7f29b142770cba60259a22f3760e2376b8e79790 (patch) | |
tree | d9ff4c7dfb29dfafb442c2cd1f2e91b2592e63bc /modules/blogapi/blogapi.module | |
parent | 6f8b5f9a5baaea6874ffe050ba0210b680070140 (diff) | |
download | brdo-7f29b142770cba60259a22f3760e2376b8e79790.tar.gz brdo-7f29b142770cba60259a22f3760e2376b8e79790.tar.bz2 |
- Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience.
Diffstat (limited to 'modules/blogapi/blogapi.module')
-rw-r--r-- | modules/blogapi/blogapi.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 70938c0f1..d43be71e0 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -218,7 +218,7 @@ function blogapi_blogger_new_post($appkey, $blogid, $username, $password, $conte } if (user_access('administer nodes') && !isset($edit['date'])) { - $edit['date'] = format_date($_SERVER['REQUEST_TIME'], 'custom', 'Y-m-d H:i:s O'); + $edit['date'] = format_date(REQUEST_TIME, 'custom', 'Y-m-d H:i:s O'); } node_invoke_nodeapi($edit, 'blogapi new'); |