summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--googleanalytics.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/googleanalytics.install b/googleanalytics.install
index 3030984..1f1d561 100644
--- a/googleanalytics.install
+++ b/googleanalytics.install
@@ -46,7 +46,7 @@ function googleanalytics_uninstall() {
function googleanalytics_disable() {
$path = file_directory_path() . '/googleanalytics';
if (file_exists($path)) {
- file_directory_path($path . '/ga.js');
+ file_unmananged_delete($path . '/ga.js');
rmdir($path);
}
}