MDL-81960 core: Update namespace of progress_trace classes
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace core\output\progress_trace;
|
||||
|
||||
use core\output\progress_trace;
|
||||
|
||||
/**
|
||||
* This subclass of progress_trace outputs to plain text.
|
||||
*
|
||||
@@ -30,3 +34,8 @@ class text_progress_trace extends progress_trace {
|
||||
mtrace(str_repeat(' ', $depth) . $message);
|
||||
}
|
||||
}
|
||||
|
||||
// Alias this class to the old name.
|
||||
// This file will be autoloaded by the legacyclasses autoload system.
|
||||
// In future all uses of this class will be corrected and the legacy references will be removed.
|
||||
class_alias(text_progress_trace::class, \text_progress_trace::class);
|
||||
|
||||
Reference in New Issue
Block a user