Bug #58918

FileRepository: addToIndex is marked as deprecated but alternative method is protected!

Added by Rico Sonntag over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2014-05-19
Due date:
% Done:

0%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

    public function addToIndex(File $fileObject) {
        GeneralUtility::logDeprecatedFunction();
        return $this->getIndexerService()->indexFile($fileObject, FALSE);
    }

getIndexerService() is a protected method, so there is no way to fix the deprecated warning!

History

#1 Updated by Markus Klein over 5 years ago

  • Status changed from New to Needs Feedback

You shouldn't call this method at all anymore. The index is taken care of internally now.

#2 Updated by Steffen Ritter over 5 years ago

  • Status changed from Needs Feedback to Rejected

As Markus told, this won't be fixed as it is not needed by the new indexing mechanism

Also available in: Atom PDF