modified the interface for toolbarItems so that the reference to the backend Object...
[Packages/TYPO3.CMS.git] / typo3 / classes / class.clearcachemenu.php
index 7c35bcb..8a38d72 100644 (file)
@@ -51,7 +51,7 @@ class ClearCacheMenu implements backend_toolbarItem {
         *
         * @param       TYPO3backend    TYPO3 backend object reference
         */
-       public function __construct(TYPO3backend &$backendReference) {
+       public function __construct(TYPO3backend &$backendReference = null) {
                $this->backendReference = $backendReference;
                $this->cacheActions     = array();