| 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.
*
* @return bool
*/
- static function hasPending() {
+ public static function hasPending() {
$checks = CRM_Utils_Hook::upgrade('check');
if (is_array($checks)) {
foreach ($checks as $check) {
*
* @return CRM_Queue_Queue
*/
- static function createQueue() {
+ public static function createQueue() {
$queue = CRM_Queue_Service::singleton()->create(array(
'type' => 'Sql',
'name' => self::QUEUE_NAME,