removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / tools / metacache
diff --git a/mods/wiki/tools/metacache b/mods/wiki/tools/metacache
deleted file mode 100755 (executable)
index c8438a4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/local/bin/php -qC
-<?php
-/*
-   Updates 'plugins/meta.bin' from the various .meta files
-   in the plugins directory.
-*/
-
-
-#-- init
-chdir(dirname(dirname(__FILE__)));
-include("plugins/lib/pluginmetadata.php");
-
-#-- do
-echo "reading plugin .meta data files... ";
-ewiki_pmd(0, "_SAVE=1", "_WARN=1");
-echo "done\n";
-
-#-- statistics
-$s = array();
-$t = array();
-foreach ($ewiki_pmd as $row) {
-   $s[$row["category"]]++;
-   $t[$row["type"]]++;
-}
-echo "  TOTAL = " . (count($ewiki_pmd)-1) . "\n";
-foreach ($t as $_=>$i) if ($_) {
-   echo "  $_ = $i\n";
-}
-echo "\n";
-
-
-
-#-- debug
-#print_r($ewiki_pmd);
-
-#$list = array_keys($ewiki_pmd);
-#$i = ewiki_pmd_get_plugin_files($list);
-#print_r($i);
-
-?>
\ No newline at end of file