Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
cc0980ec
Commit
cc0980ec
authored
Aug 14, 2002
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Bugfix: moved the delete query down. Patch by Marco.
parent
e0357857
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
modules/system.module
modules/system.module
+2
-1
modules/system/system.module
modules/system/system.module
+2
-1
No files found.
modules/system.module
View file @
cc0980ec
...
...
@@ -150,7 +150,6 @@ function system_modules() {
while
(
$module
=
db_fetch_object
(
$result
))
{
$status
[
$module
->
name
]
=
$module
->
status
;
}
db_query
(
"DELETE FROM system WHERE type = 'module'"
);
if
(
$handle
=
@
opendir
(
"modules"
))
{
$modules
=
array
();
...
...
@@ -165,6 +164,8 @@ function system_modules() {
asort
(
$modules
);
}
db_query
(
"DELETE FROM system WHERE type = 'module'"
);
$required
=
array
(
"user"
,
"system"
,
"watchdog"
);
$output
.
=
"<table border=
\"
1
\"
cellpadding=
\"
2
\"
cellspacing=
\"
2
\"
>
\n
"
;
...
...
modules/system/system.module
View file @
cc0980ec
...
...
@@ -150,7 +150,6 @@ function system_modules() {
while
(
$module
=
db_fetch_object
(
$result
))
{
$status
[
$module
->
name
]
=
$module
->
status
;
}
db_query
(
"DELETE FROM system WHERE type = 'module'"
);
if
(
$handle
=
@
opendir
(
"modules"
))
{
$modules
=
array
();
...
...
@@ -165,6 +164,8 @@ function system_modules() {
asort
(
$modules
);
}
db_query
(
"DELETE FROM system WHERE type = 'module'"
);
$required
=
array
(
"user"
,
"system"
,
"watchdog"
);
$output
.
=
"<table border=
\"
1
\"
cellpadding=
\"
2
\"
cellspacing=
\"
2
\"
>
\n
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment