Issue #2062171 by Garbar, m1r1k: Remove calls to deprecated global in favor of current user service in editor module.