Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2015-02-02-18-36-16
[civicrm-core.git] / CRM / Extension / Upgrades.php
index 9915fd2a7575f99deb2a0bfeb1b41c6212fce3b2..e1ce7429ccbad14e5c7fe4acbbaf32454a7eb0ce 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  * This class stores logic for managing schema upgrades in CiviCRM extensions.
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -42,7 +42,7 @@ class CRM_Extension_Upgrades {
    *
    * @return bool
    */
-  static function hasPending() {
+  public static function hasPending() {
     $checks = CRM_Utils_Hook::upgrade('check');
     if (is_array($checks)) {
       foreach ($checks as $check) {
@@ -60,7 +60,7 @@ class CRM_Extension_Upgrades {
    *
    * @return CRM_Queue_Queue
    */
-  static function createQueue() {
+  public static function createQueue() {
     $queue = CRM_Queue_Service::singleton()->create(array(
       'type' => 'Sql',
       'name' => self::QUEUE_NAME,