From 754fc3c3ea92084559d98a7e73b98dacce7fe9a1 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 1 Feb 2011 07:01:03 +0000 Subject: Moving deprecated functions out of files access.php - entities.php. This time into two files based on version deprecated and maintaining documentation git-svn-id: http://code.elgg.org/elgg/trunk@7979 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/actions.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'engine/lib/actions.php') diff --git a/engine/lib/actions.php b/engine/lib/actions.php index d95fe0435..0691e306a 100644 --- a/engine/lib/actions.php +++ b/engine/lib/actions.php @@ -180,23 +180,6 @@ function elgg_register_action($action, $filename = "", $access = 'logged_in') { return true; } -/** - * @deprecated 1.8 Use {@link elgg_register_action()} instead - */ -function register_action($action, $public = false, $filename = "", $admin_only = false) { - elgg_deprecated_notice("register_action() was deprecated by elgg_register_action()", 1.8); - - if ($admin_only) { - $access = 'admin'; - } elseif ($public) { - $access = 'public'; - } else { - $access = 'logged_in'; - } - - return elgg_register_action($action, $filename, $access); -} - /** * Validate an action token. * -- cgit v1.2.3