Skip to content

Commit

Permalink
Revert "Added PimcoreBundleAdminSupportInterface to bundle class"
Browse files Browse the repository at this point in the history
This reverts commit 492b21e.
  • Loading branch information
robertSt7 committed Mar 30, 2023
1 parent c0e384a commit e1aa44a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions src/PimcoreDataHubBundle.php
Expand Up @@ -15,18 +15,15 @@

namespace Pimcore\Bundle\DataHubBundle;

use Pimcore\Bundle\AdminBundle\Support\BundleAdminSupportTrait;
use Pimcore\Bundle\AdminBundle\Support\PimcoreBundleAdminSupportInterface;
use Pimcore\Bundle\DataHubBundle\DependencyInjection\Compiler\CustomDocumentTypePass;
use Pimcore\Bundle\DataHubBundle\DependencyInjection\Compiler\ImportExportLocatorsPass;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\Installer\InstallerInterface;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
use Symfony\Component\DependencyInjection\ContainerBuilder;

class PimcoreDataHubBundle extends AbstractPimcoreBundle implements PimcoreBundleAdminSupportInterface
class PimcoreDataHubBundle extends AbstractPimcoreBundle
{
use BundleAdminSupportTrait;
use PackageVersionTrait;

const RUNTIME_CONTEXT_KEY = 'datahub_context';
Expand Down
1 change: 0 additions & 1 deletion src/Resources/public/js/datahub.js
Expand Up @@ -27,7 +27,6 @@ pimcore.plugin.datahub = Class.create({
document.addEventListener(pimcore.events.pimcoreReady, this.pimcoreReady.bind(this));
}


document.addEventListener("pimcore.perspectiveEditor.permissions.structure.load", (e) => {
if (e.detail.context === 'toolbar') {
e.detail.structure['datahub'] = {};
Expand Down

0 comments on commit e1aa44a

Please sign in to comment.