Quiet Deprecation for 1.8

Warning: This plugin has't been updated in over 7 years. It may no longer be maintained.

What you can do to help:

Hide deprecation notices from admins (except for a whitelist of users)

Last updated
Recommended Releases
Elgg Release Download Date Links
1.81.0 (3.63 kB)2012-Jan-27
Show all releases

Once activated, admins will not see deprecation notices. If you want to see them, go to Admin > Configure > Settings > Quiet Deprecation, and add your user to the list. Afterwards, you'll be able to see the notices.

The notices are filtered after rendering the page/default and page/admin views, and by looking for the expression /

Deprecated in \d[^<]+

/, so this may not cover all cases (notably AJAX views).

Also, hiding the notices doesn't mean they don't exist. You should aim to get rid of them because calling deprecated functions is slower and fills your error log with junk.

Steve Clay

Core Elgg team member, developer for University of Florida College of Education

Stats

  • Category: Site admin
  • License: Modified BSD license
  • Updated: 2014-11-17
  • Downloads: 743
  • Recommendations: 1

Other Projects

View Steve Clay's plugins