INFRA-132 - Drupal.Classes.ClassDeclaration
[civicrm-core.git] / CRM / Extension / Upgrades.php
index 9383c0933532ba67e1ae24b6b7520c9508ded232..18a4869bd7aea1486726b8925b69466887670e0a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -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,