diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-02-15 20:09:46 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-02-15 20:09:46 +0000 |
commit | 4b0b2d02eecaa27e3162a0fad9d31bb08f4df53b (patch) | |
tree | cf369f7370c1be045e3d48e7a9beb26d1d0f3714 /modules/system | |
parent | ae5136e51b87b414c737f4726c367c18db79fc49 (diff) | |
download | brdo-4b0b2d02eecaa27e3162a0fad9d31bb08f4df53b.tar.gz brdo-4b0b2d02eecaa27e3162a0fad9d31bb08f4df53b.tar.bz2 |
- Patch by Steven: removed redundant permission checks. These are no longer
required thanks to the new 404 handling.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.module | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 4b6ca99c1..349887a22 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -361,13 +361,8 @@ function system_settings_save() { } function system_admin() { - if (user_access("administer site configuration")) { - $output = system_view(arg(2), arg(3)); - print theme("page", $output); - } - else { - print theme("page", message_access()); - } + $output = system_view(arg(2), arg(3)); + print theme("page", $output); } ?> |