diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 21:56:55 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 21:56:55 +0000 |
commit | 00f085d2da3f7fc260597e9bd7493a9cb99115fc (patch) | |
tree | 233450cc8b9768a2e122b07bb6c083a5053d033a /engine/lib/views.php | |
parent | 1196f73263f4050400604467200a71f2e1f0e3cb (diff) | |
download | elgg-00f085d2da3f7fc260597e9bd7493a9cb99115fc.tar.gz elgg-00f085d2da3f7fc260597e9bd7493a9cb99115fc.tar.bz2 |
Moved all deprecated core functions into the appropriate deprecation fine
git-svn-id: http://code.elgg.org/elgg/trunk@8262 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r-- | engine/lib/views.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index 8a5badc88..cfbcfa547 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1035,9 +1035,7 @@ function elgg_view_title($title, $submenu = false) { elgg_deprecated_notice('setting $submenu in elgg_view_title() is deprecated', 1.8); } - $title = elgg_view('layout/elements/title', array('title' => $title, 'submenu' => $submenu)); - - return $title; + return elgg_view('layout/elements/title', array('title' => $title, 'submenu' => $submenu)); } /** |