Whoops, it's setHook(), not getHook() (Special:Administration JS core)
authorDan
Fri, 25 Sep 2009 14:22:24 -0400
changeset 1120 55b5911cd39e
parent 1119 2e045975fc65
child 1121 bf5adc446018
Whoops, it's setHook(), not getHook() (Special:Administration JS core)
plugins/SpecialAdmin.php
--- a/plugins/SpecialAdmin.php	Fri Sep 25 14:18:20 2009 -0400
+++ b/plugins/SpecialAdmin.php	Fri Sep 25 14:22:24 2009 -0400
@@ -2169,7 +2169,7 @@
               autofill_onload();
               admin_table_onload(t);
               // allow JS hooks
-              eval(getHook('admin_page_onload'));
+              eval(setHook('admin_page_onload'));
             }
           }
         });