summaryrefslogtreecommitdiffstats
path: root/core/modules/update/update.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/update/update.install')
-rw-r--r--core/modules/update/update.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/update/update.install b/core/modules/update/update.install
index f0d5499..9ff39d1 100644
--- a/core/modules/update/update.install
+++ b/core/modules/update/update.install
@@ -70,7 +70,7 @@ function update_schema() {
* Implements hook_install().
*/
function update_install() {
- $queue = DrupalQueue::get('update_fetch_tasks', TRUE);
+ $queue = queue('update_fetch_tasks', TRUE);
$queue->createQueue();
}
@@ -91,7 +91,7 @@ function update_uninstall() {
foreach ($variables as $variable) {
variable_del($variable);
}
- $queue = DrupalQueue::get('update_fetch_tasks');
+ $queue = queue('update_fetch_tasks');
$queue->deleteQueue();
}