Merge pull request #3448 from NileemaJadhav/CRM-master-HR
[civicrm-core.git] / CRM / Utils / System.php
index aa4a70617f61f74ecbad25ea9c00ed3a24b21fbc..94fc2b69b93aa79a6d158edf10cc7981e1c0e000 100644 (file)
@@ -183,6 +183,8 @@ class CRM_Utils_System {
    * @param bool $maintenance
    *   (optional) For maintenance mode.
    *
+   * @return string
+   *
    * @access public
    */
   static function theme(
@@ -1392,7 +1394,7 @@ class CRM_Utils_System {
    *   Response from URL.
    */
   static function getServerResponse($url, $addCookie = TRUE) {
-    $errorScope = CRM_Core_TemporaryErrorScope::ignoreException();
+    CRM_Core_TemporaryErrorScope::ignoreException();
     require_once 'HTTP/Request.php';
     $request = new HTTP_Request($url);