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 | |
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')
-rw-r--r-- | views/default/group/search/finishblurb.php | 2 | ||||
-rw-r--r-- | views/default/group/search/startblurb.php | 2 | ||||
-rw-r--r-- | views/default/user/search/finishblurb.php | 2 | ||||
-rw-r--r-- | views/default/user/search/startblurb.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/views/default/group/search/finishblurb.php b/views/default/group/search/finishblurb.php index a030fbac5..9d3759cb3 100644 --- a/views/default/group/search/finishblurb.php +++ b/views/default/group/search/finishblurb.php @@ -6,7 +6,7 @@ * @link http://elgg.org/
* @deprecated 1.7
*/
-elgg_log('view groups/search/finishblurb was deprecated in 1.7', 'WARNING');
+elgg_deprecated_notice('view groups/search/finishblurb was deprecated.', 1.7);
if ($vars['count'] > $vars['threshold']) {
diff --git a/views/default/group/search/startblurb.php b/views/default/group/search/startblurb.php index 64425af69..f3acfaf5a 100644 --- a/views/default/group/search/startblurb.php +++ b/views/default/group/search/startblurb.php @@ -6,7 +6,7 @@ * @link http://elgg.org/
* @deprecated 1.7
*/
-elgg_log('view groups/search/startblurb was deprecated in 1.7', 'WARNING');
+elgg_deprecated_notice('view groups/search/startblurb was deprecated.', 1.7);
?>
<div class="contentWrapper">
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">
|