Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanup of help hook too, on the correct branch this time

  • Loading branch information...
commit 7e168d7d46c256973dafdfd3e61d94af8cdf178c 1 parent df91f97
Jennifer Lea Lampton authored
Showing with 4 additions and 10 deletions.
  1. +4 −10 sopa.module
View
14 sopa.module
@@ -21,21 +21,15 @@ function sopa_init() {
exit();
}
}
-
}
/**
* Implements hook_help().
*/
-function sopa_help($section = '') {
- $output= '';
-
- switch ($section) {
- case "admin/modules#description":
- case "admin/help":
- $output = t("Block out your site on January 18, 2012.");
+function sopa_help($path, $arg) {
+ switch ($path) {
+ case "admin/help#sopa":
+ return t("Block out your site on January 18, 2012.");
break;
}
-
- return $output;
}
Please sign in to comment.
Something went wrong with that request. Please try again.