Skip to content

Commit

Permalink
Fix EZP-24135: Output buffer gets cleared after legacy call
Browse files Browse the repository at this point in the history
Moved hasInstance() method from \eZ\Publish\Core\MVC\Legacy\Kernel to ezpKernel
  • Loading branch information
glye committed Mar 23, 2015
1 parent 4760af3 commit eb717c1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions mvc/Kernel.php
Expand Up @@ -68,16 +68,6 @@ public function __construct( ezpKernelHandler $kernelHandler, $legacyRootDir, $w
$this->setUseExceptions( true );
}

/**
* Checks if LegacyKernel has already been instantiated.
*
* @return bool
*/
public static function hasInstance()
{
return static::$instance !== null;
}

public static function resetInstance()
{
static::$instance = null;
Expand Down

0 comments on commit eb717c1

Please sign in to comment.