CRM_Utils_REST - Fix PHP warning
authorTim Otten <totten@civicrm.org>
Mon, 6 May 2013 23:39:35 +0000 (16:39 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 6 May 2013 23:39:35 +0000 (16:39 -0700)
CRM/Utils/REST.php

index 9625c880ffdc8a8bbc3a3752136c4bcfb223f1b9..b97d023619401dc90375d481fecab7aa910929af 100644 (file)
@@ -66,7 +66,7 @@ class CRM_Utils_REST {
    * @return string       $var
    * @access public
    */
-  public function ping($var = NULL) {
+  public static function ping($var = NULL) {
     $session = CRM_Core_Session::singleton();
     $key = $session->get('key');
     //$session->set( 'key', $var );