Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Replace Extension subclasses #200

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Extension/Engine/SiteTreePublishingEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace SilverStripe\StaticPublishQueue\Extension\Engine;

use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\CMS\Model\SiteTreeExtension;
use SilverStripe\Core\Environment;
use SilverStripe\Core\Extension;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\Core\Resettable;
use SilverStripe\Dev\Deprecation;
Expand All @@ -26,9 +26,9 @@
*
* @see PublishableSiteTree
*
* @extends DataExtension<SiteTree>
* @extends Extension<SiteTree>
*/
class SiteTreePublishingEngine extends SiteTreeExtension implements Resettable
class SiteTreePublishingEngine extends Extension implements Resettable
{
public const ACTION_PUBLISH = 'publish';
public const ACTION_UNPUBLISH = 'unpublish';
Expand Down
6 changes: 3 additions & 3 deletions src/Extension/Publishable/PublishableSiteTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\CMS\Model\VirtualPage;
use SilverStripe\Control\Director;
use SilverStripe\ORM\DataExtension;
use SilverStripe\Core\Extension;
use SilverStripe\ORM\SS_List;
use SilverStripe\StaticPublishQueue\Contract\StaticallyPublishable;
use SilverStripe\StaticPublishQueue\Contract\StaticPublishingTrigger;
Expand All @@ -20,9 +20,9 @@
*
* @see SiteTreePublishingEngine
*
* @extends DataExtension<SiteTree>
* @extends Extension<SiteTree>
*/
class PublishableSiteTree extends DataExtension implements StaticallyPublishable, StaticPublishingTrigger
class PublishableSiteTree extends Extension implements StaticallyPublishable, StaticPublishingTrigger
{
public const REGENERATE_RELATIONS_NONE = 'none';
public const REGENERATE_RELATIONS_DIRECT = 'direct';
Expand Down
Loading