roryg / ElementHelper

Element Helper is a MODx Revolution plugin for automatically creating elements from static files without the MODx manager.
27 stars 10 forks source link

Fix deprecated ->getMicrotime() in plugin #29

Closed exside closed 10 years ago

exside commented 10 years ago

As $modx->getMicrotime() is not available in 2.3.x anymore, enabling debug mode in ElementHelper causes an error, this PR fixes it by replacing $modx->getMicrotime() with microtime(true).

exside commented 10 years ago

Integrated in #30