Merge pull request #15357 from civicrm/5.18
[civicrm-core.git] / CRM / Utils / System / Joomla.php
index 966d28f4a90c7e7c2b47b5bdb5dff421d932cf6b..746ef630ecee9b17217ca3eb084295a5a36d292e 100644 (file)
@@ -837,23 +837,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
     }
   }
 
-  /**
-   * Output code from error function.
-   * @param string $content
-   */
-  public function outputError($content) {
-    if (class_exists('JErrorPage')) {
-      $error = new Exception($content);
-      JErrorPage::render($error);
-    }
-    elseif (class_exists('JError')) {
-      JError::raiseError('CiviCRM-001', $content);
-    }
-    else {
-      parent::outputError($content);
-    }
-  }
-
   /**
    * @inheritDoc
    */