Project

General

Profile

Actions

Bug #58918

closed

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

Added by Rico Sonntag almost 10 years ago. Updated almost 10 years ago.

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

0%

Estimated time:
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!

Actions #1

Updated by Markus Klein almost 10 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.

Actions #2

Updated by Steffen Ritter almost 10 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

Actions

Also available in: Atom PDF