removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / linking / a_nofollow.php
diff --git a/mods/wiki/plugins/linking/a_nofollow.php b/mods/wiki/plugins/linking/a_nofollow.php
deleted file mode 100644 (file)
index 984f45d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-/*
-   <a href="..." rel="NOFOLLOW"> prevents additional page rank bonus
-   for linked pages. This is a countermeasure against link spam. (See
-   doc/LinkSpammers)
-   
-   This is a dumb plugin, because it adds this to ALL links. Use the
-   "new_nofollow" version which appends this flag only to FRESH links.
-*/
-
-$ewiki_plugins["link_final"][] = "ewiki_linking_all_urls_nofollow";
-
-function ewiki_linking_all_urls_nofollow(&$str, $type, $href, $title, &$states) {
-   if (strpos($href, "://")) {
-      $states["xhtml"]["rel"] = "NOFOLLOW";
-   }
-}
-
-?>
\ No newline at end of file