Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
beada936
Commit
beada936
authored
Jan 14, 2005
by
Steven Wittens
Browse files
Remove left-overs from admin.module.
parent
9d809b87
Changes
4
Hide whitespace changes
Inline
Side-by-side
database/database.mysql
View file @
beada936
...
...
@@ -775,7 +775,6 @@ CREATE TABLE watchdog (
-- Insert some default values
--
INSERT INTO system VALUES ('modules/admin.module','admin','module','',1,0,0);
INSERT INTO system VALUES ('modules/block.module','block','module','',1,0,0);
INSERT INTO system VALUES ('modules/comment.module','comment','module','',1,0,0);
INSERT INTO system VALUES ('modules/filter.module','filter','module','',1,0,0);
...
...
database/database.pgsql
View file @
beada936
...
...
@@ -762,7 +762,6 @@ CREATE TABLE watchdog (
-- Insert some default values
--
INSERT INTO system VALUES ('modules/admin.module','admin','module','',1,0,0);
INSERT INTO system VALUES ('modules/block.module','block','module','',1,0,0);
INSERT INTO system VALUES ('modules/comment.module','comment','module','',1,0,0);
INSERT INTO system VALUES ('modules/filter.module','filter','module','',1,0,0);
...
...
database/updates.inc
View file @
beada936
...
...
@@ -91,7 +91,8 @@
"2004-11-15"
=>
"update_112"
,
"2004-11-28"
=>
"update_113"
,
"2004-12-05"
=>
"update_114"
,
"2005-01-07"
=>
"update_115"
"2005-01-07"
=>
"update_115"
,
"2005-01-14"
=>
"update_116"
);
function
update_32
()
{
...
...
@@ -2078,6 +2079,10 @@ function update_115() {
return
$ret
;
}
function
update_116
()
{
return
array
(
update_sql
(
"DELETE FROM
{
system
}
WHERE name = 'admin'"
));
}
function
update_sql
(
$sql
)
{
$edit
=
$_POST
[
"edit"
];
$result
=
db_query
(
$sql
);
...
...
includes/module.inc
View file @
beada936
...
...
@@ -45,7 +45,7 @@ function module_list($refresh = FALSE, $bootstrap = FALSE) {
}
if
(
!
$list
)
{
$list
=
array
(
'admin'
=>
'admin'
,
'filter'
=>
'filter'
,
'system'
=>
'system'
,
'user'
=>
'user'
,
'watchdog'
=>
'watchdog'
);
$list
=
array
(
'filter'
=>
'filter'
,
'system'
=>
'system'
,
'user'
=>
'user'
,
'watchdog'
=>
'watchdog'
);
if
(
$bootstrap
)
{
$result
=
db_query
(
"SELECT name, filename, throttle, bootstrap FROM
{
system
}
WHERE type = 'module' AND status = 1 AND bootstrap = 1"
);
}
...
...
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