CRM-15276 fixes - DB Syntax Error on saving new mailing component with checked is_default
[civicrm-core.git] / CRM / Upgrade / Headless.php
index 640419fe35de9ed921388ea65ef3c816484c17a5..3125ce06dd6222fa0fb06d6382cac20fa4774ad2 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -33,9 +33,12 @@ class CRM_Upgrade_Headless {
   /**
    * Perform an upgrade without using the web-frontend
    *
+   * @param bool $enablePrint
+   *
+   * @throws
+   * @throws Exception
    * @return array, with keys:
    *   - message: string, HTML-ish blob
-   * @throws Exception
    */
   function run($enablePrint = TRUE) {
     // lets get around the time limit issue if possible for upgrades