From 714ccd2989c219b592460d80b0a455baca1a5fd1 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 11 Mar 2008 17:18:49 +0000 Subject: God bless 'em! Plugins now autoregister their own views. git-svn-id: https://code.elgg.org/elgg/trunk@168 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/test/start.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mod/test/start.php') diff --git a/mod/test/start.php b/mod/test/start.php index f406b8abb..345ca7588 100644 --- a/mod/test/start.php +++ b/mod/test/start.php @@ -13,10 +13,6 @@ function test_init($event, $object_type, $object = null) { global $CONFIG; - - // Let's add to the pageshell view. - extend_view("pageshell", "testplugin/pageshell"); - set_view_location("testplugin/pageshell",$CONFIG->pluginspath . "test/views/"); // Test menu item add_menu("Test plugin",$CONFIG->wwwroot . "mod/test/",array( -- cgit v1.2.3