summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-12-29 18:58:48 +0000
committerDries Buytaert <dries@buytaert.net>2006-12-29 18:58:48 +0000
commitce2088e817c23ec3ebe23edc3b6613c76ca567c8 (patch)
tree90a62cd6d9fa993c1bc2f7df22d70153621537ae /modules
parent71e7e78bf85ca5218225fea2f04a0be8332c34b6 (diff)
downloadbrdo-ce2088e817c23ec3ebe23edc3b6613c76ca567c8.tar.gz
brdo-ce2088e817c23ec3ebe23edc3b6613c76ca567c8.tar.bz2
- Patch #105454 by kkaefer, ChrisKennedy, RobRoy et al: fixed update paths.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index e2a6a2918..c21aec25c 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1605,7 +1605,7 @@ function system_update_132() {
/**
* Wipe the search index
*/
- include_once './modules/search.module';
+ include_once './'. drupal_get_path('module', 'search') .'/search.module';
search_wipe();
}
@@ -2625,7 +2625,7 @@ function system_update_172() {
$_SESSION['system_update_172_max'] = db_result(db_query('SELECT MAX(cid) FROM {comments}'));
}
- include_once './modules/comment.module';
+ include_once './'. drupal_get_path('module', 'comment') .'/comment.module';
$limit = 20;
$result = db_query_range("SELECT cid, thread FROM {comments} WHERE cid > %d ORDER BY cid ASC", $_SESSION['system_update_172'], 0, $limit);