Permalink
Browse files

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

  • Loading branch information...
1 parent df91f97 commit 7e168d7d46c256973dafdfd3e61d94af8cdf178c Jennifer Lea Lampton committed Jan 18, 2012
Showing with 4 additions and 10 deletions.
  1. +4 −10 sopa.module
View
@@ -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;
}

0 comments on commit 7e168d7

Please sign in to comment.