summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew morton2008-11-07 00:54:25 (GMT)
committer andrew morton2008-11-07 00:54:25 (GMT)
commite7c83331124d4ee0827a1e8ef9ed0a8b11a388e4 (patch)
treec0760a9a6631e8b5387d87daced8e7c83a3be674
parent3f29854f045ad78a20fbe6e619909bfc8f588ae4 (diff)
#301398 by quicksketch: Install error: Call to undefined function content_notify().
-rw-r--r--filefield.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/filefield.install b/filefield.install
index b1ea529..8b67fa4 100644
--- a/filefield.install
+++ b/filefield.install
@@ -14,6 +14,7 @@ include_once('field_file.inc');
* Implementation of hook_install().
*/
function filefield_install() {
+ drupal_load('module', 'content');
content_notify('install', 'filefield');
}
@@ -21,6 +22,7 @@ function filefield_install() {
* Implementation of hook_uninstall().
*/
function filefield_uninstall() {
+ drupal_load('module', 'content');
content_notify('uninstall', 'filefield');
}
@@ -28,6 +30,7 @@ function filefield_uninstall() {
* Implementation of hook_enable().
*/
function filefield_enable() {
+ drupal_load('module', 'content');
content_notify('enable', 'filefield');
}
@@ -35,6 +38,7 @@ function filefield_enable() {
* Implementation of hook_disable().
*/
function filefield_disable() {
+ drupal_load('module', 'content');
content_notify('disable', 'filefield');
}