Created
February 20, 2012 23:01
-
-
Save psynaptic/1872130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 2a1a48b4e638332a6eb6fdc0f7bc5fbc08638737 Mon Sep 17 00:00:00 2001 | |
From: Richard Burford <[email protected]> | |
Date: Mon, 20 Feb 2012 23:00:43 +0000 | |
Subject: [PATCH] Removed jQuery autocomplete requirements check so we can | |
install from an install profile. | |
--- | |
api.install | 18 ------------------ | |
1 files changed, 0 insertions(+), 18 deletions(-) | |
diff --git a/api.install b/api.install | |
index 11c6f80..652d869 100644 | |
--- a/api.install | |
+++ b/api.install | |
@@ -361,24 +361,6 @@ function api_enable() { | |
} | |
/** | |
- * Implementation of hook_requirements(). | |
- */ | |
-function api_requirements($phase) { | |
- $requirements = array(); | |
- $t = get_t(); | |
- | |
- if (!file_exists(drupal_get_path('module', 'api') . '/jquery-autocomplete/jquery.autocomplete.js')) { | |
- // Required library wasn't found. Abort installation. | |
- $requirements['api']['title'] = $t('jQuery autocomplete'); | |
- $requirements['api']['value'] = $t('Not found'); | |
- $requirements['api']['description'] = $t('Missing jQuery autocomplete plug-in. Please !download and extract it to your api module directory.', array('!download' => l($t('download the jQuery autocomplete plug-in'), 'http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/'))); | |
- $requirements['api']['severity'] = REQUIREMENT_ERROR; | |
- } | |
- | |
- return $requirements; | |
-} | |
- | |
-/** | |
* Optimize the 'N functions call f()' query. | |
*/ | |
function api_update_13() { | |
-- | |
1.7.9.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment