[BUGFIX] Visibility of method tx_sysaction_task::fixUsername()
authorOliver Hader <oliver@typo3.org>
Wed, 9 Mar 2011 14:13:37 +0000 (15:13 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 12 Apr 2011 22:25:37 +0000 (00:25 +0200)
The method fixUsername() is defined as private, but should be
protected instead.

Change-Id: I2a7369bf78e77e68595121e3083ad813e721e00f
Resolves: #25219
Releases: 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/1105
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/sys_action/task/class.tx_sysaction_task.php

index 3f2d41a..bbe1868 100644 (file)
@@ -579,7 +579,7 @@ class tx_sysaction_task implements tx_taskcenter_Task {
         * @param       string          $prefix: prefix
         * @return string       Combined username
         */
-       private function fixUsername($username, $prefix) {
+       protected function fixUsername($username, $prefix) {
                return trim($prefix) . trim($username);
        }