summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.install')
-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 492df8365..d4da8b4a7 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2351,10 +2351,10 @@ function system_update_7046() {
variable_set('theme_garland_settings', $settings);
// Remove Garland's color files since they won't match Minnelli's.
foreach (variable_get('color_garland_files', array()) as $file) {
- @unlink($file);
+ @drupal_unlink($file);
}
if (isset($file) && $file = dirname($file)) {
- @rmdir($file);
+ @drupal_rmdir($file);
}
variable_del('color_garland_palette');
variable_del('color_garland_stylesheets');