summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2008-12-16 01:59:23 (GMT)
committer hass2008-12-16 01:59:23 (GMT)
commit78b4e418578e81a34942dc4f6f93b7554ea3d3d3 (patch)
tree34a6936acd2b3ca0fe5ee5716694fdb21efc6e9b
parent64a6dfdc46ce1602fd4dee2f56e8ea0d9219561d (diff)
Fixed typos in file functions taken over from modules upgrade page
-rw-r--r--googleanalytics.install4
-rw-r--r--googleanalytics.module2
2 files changed, 3 insertions, 3 deletions
diff --git a/googleanalytics.install b/googleanalytics.install
index 1f1d561..f64b387 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_unmananged_delete($path . '/ga.js');
+ file_unmanaged_delete($path . '/ga.js');
rmdir($path);
}
}
@@ -233,7 +233,7 @@ function googleanalytics_update_6200() {
$path = file_directory_path() .'/googleanalytics';
if (file_exists($path)) {
- file_delete($path .'/urchin.js');
+ file_unmanaged_delete($path .'/urchin.js');
}
variable_del('googleanalytics_legacy_version');
diff --git a/googleanalytics.module b/googleanalytics.module
index 705b025..c7b4ec8 100644
--- a/googleanalytics.module
+++ b/googleanalytics.module
@@ -255,7 +255,7 @@ function _googleanalytics_cache($location) {
if ($result->code == 200) {
// Check that the files directory is writable
if (file_check_directory($directory, FILE_CREATE_DIRECTORY)) {
- return file_unmananged_save_data($result->data, $directory .'/'. basename($location), FILE_EXISTS_REPLACE);
+ return file_unmanaged_save_data($result->data, $directory .'/'. basename($location), FILE_EXISTS_REPLACE);
}
}
}