Permalink
Browse files

Removed deprecated Register::register() and unregister()

Report automatically includes reports instead, and
add_excluded_reports() can be used to exclude certain reports
  • Loading branch information...
1 parent d006c08 commit 35bcf69c017f7b18407ec075cedcb7ee88e12754 @halkyon halkyon committed Nov 15, 2012
Showing with 0 additions and 22 deletions.
  1. +0 −22 code/reports/Report.php
View
@@ -138,28 +138,6 @@ public function getLink($action = null) {
}
/**
- * @deprecated 3.0
- * All subclasses of SS_Report now appear in the report admin, no need to register or unregister.
- *
- * Register a report.
- * @param $list The list to add the report to: "ReportAdmin" or "SideReports"
- * @param $reportClass The class of the report to add.
- * @param $priority The priority. Higher numbers will appear furhter up in the reports list.
- * The default value is zero.
- */
- static public function register($list, $reportClass, $priority = 0) {
- Deprecation::notice('3.0', 'All subclasses of SS_Report now appear in the report admin, no need to register');
- }
-
- /**
- * @deprecated 3.0
- * All subclasses of SS_Report now appear in the report admin, no need to register or unregister.
- */
- static public function unregister($list, $reportClass) {
- self::add_excluded_reports($reportClass);
- }
-
- /**
* Exclude certain reports classes from the list of Reports in the CMS
* @param $reportClass Can be either a string with the report classname or an array of reports classnames
*/

0 comments on commit 35bcf69

Please sign in to comment.