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 d179cb34285f72e4035014b6372870c57db280db..e1ce7429ccbad14e5c7fe4acbbaf32454a7eb0ce 100644 (file)
@@ -23,7 +23,7 @@
  | 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.
@@ -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,