diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-22 15:41:47 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-22 15:41:47 -0800 |
commit | bdd7c68ede05d46ba758b0ab3e04b46202d761af (patch) | |
tree | 77674ca13e2bd14e6c0379b806bf20ed98ed4368 /modules/gallery_unit_test/helpers/MY_request.php | |
parent | d711c5b9300a17e7269415573a15e8a63f0d149c (diff) |
Fix some function definitions (they should be static)
Diffstat (limited to 'modules/gallery_unit_test/helpers/MY_request.php')
-rw-r--r-- | modules/gallery_unit_test/helpers/MY_request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery_unit_test/helpers/MY_request.php b/modules/gallery_unit_test/helpers/MY_request.php index 9cc9746a..452fb0cc 100644 --- a/modules/gallery_unit_test/helpers/MY_request.php +++ b/modules/gallery_unit_test/helpers/MY_request.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class request extends request_Core { - public function set_user_agent($value) { + static function set_user_agent($value) { self::$user_agent = null; $_SERVER["HTTP_USER_AGENT"] = $value; } |