diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-01 00:53:06 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-01 00:53:06 +0000 |
commit | ced1f7e98a99b4bd702a362ddd1968ff1e2ae5f0 (patch) | |
tree | 64b4cba6c6ced5e7f7f8b28164134e7c45e4bfb4 /views/default/user | |
parent | becacf9b043c2526e910d84fe41b96e800aca602 (diff) | |
download | elgg-ced1f7e98a99b4bd702a362ddd1968ff1e2ae5f0.tar.gz elgg-ced1f7e98a99b4bd702a362ddd1968ff1e2ae5f0.tar.bz2 |
Add elgg_deprecated_notice() so we don't have to re-write all the elgg_log() deprecated notices to register_error()s. Updated current ones to use this.
git-svn-id: http://code.elgg.org/elgg/trunk@3874 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/user')
-rw-r--r-- | views/default/user/search/finishblurb.php | 2 | ||||
-rw-r--r-- | views/default/user/search/startblurb.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/user/search/finishblurb.php b/views/default/user/search/finishblurb.php index 87ab0b60d..a8c14f357 100644 --- a/views/default/user/search/finishblurb.php +++ b/views/default/user/search/finishblurb.php @@ -7,7 +7,7 @@ * @deprecated 1.7
*/
-elgg_log('view user/search/finishblurb was deprecated in 1.7', 'WARNING');
+elgg_deprecated_notice('view user/search/finishblurb was deprecated.', 1.7);
if ($vars['count'] > $vars['threshold']) {
diff --git a/views/default/user/search/startblurb.php b/views/default/user/search/startblurb.php index 2866ba9ad..e069ec460 100644 --- a/views/default/user/search/startblurb.php +++ b/views/default/user/search/startblurb.php @@ -7,7 +7,7 @@ * @link http://elgg.org/
*/
-elgg_log('view user/search/startblurb was deprecated in 1.7', 'WARNING');
+elgg_deprecated_notice('view user/search/startblurb was deprecated.', 1.7);
?>
<div class="contentWrapper">
|