Skip to content

Commit

Permalink
Merge pull request #323 from creative-commoners/pulls/2/installed-mod…
Browse files Browse the repository at this point in the history
…ules

API Deprecate CwpSiteSummaryExtension
  • Loading branch information
GuySartorelli authored Mar 13, 2023
2 parents a0b1656 + d3b0c94 commit d545aab
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Extensions/CwpSiteSummaryExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,26 @@
namespace CWP\CWP\Extensions;

use SilverStripe\Core\Extension;
use SilverStripe\Dev\Deprecation;

/**
* Extends the site summary report to list the appropriate versions in the report header
*
* @deprecated 4.13.0 Will be removed without equivalent functionality to replace it
*/
class CwpSiteSummaryExtension extends Extension
{
public function __construct()
{
Deprecation::withNoReplacement(function () {
Deprecation::notice(
'4.13.0',
'Will be removed without equivalent functionality to replace it',
Deprecation::SCOPE_CLASS
);
});
}

/**
* Updates the modules used for the version label by:
* - Removing SS Framework
Expand Down

0 comments on commit d545aab

Please sign in to comment.