Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
google_analytics
Commits
1015df08
Commit
1015df08
authored
May 31, 2008
by
hass
Browse files
Made hook_disable more E_ALL save.
parent
07a2e74c
Changes
1
Show whitespace changes
Inline
Side-by-side
googleanalytics.install
View file @
1015df08
...
...
@@ -39,9 +39,12 @@ function googleanalytics_uninstall() {
* Remove cache directory if module is disabled (or uninstalled).
*/
function
googleanalytics_disable
()
{
file_delete
(
file_directory_path
()
.
'/googleanalytics/urchin.js'
);
file_delete
(
file_directory_path
()
.
'/googleanalytics/ga.js'
);
rmdir
(
file_directory_path
()
.
'/googleanalytics'
);
$path
=
file_directory_path
()
.
'/googleanalytics'
;
if
(
file_exists
(
$path
))
{
file_delete
(
$path
.
'/urchin.js'
);
file_delete
(
$path
.
'/ga.js'
);
rmdir
(
$path
);
}
}
...
...
Write
Preview
Supports
Markdown
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