remove check for parent class

If the child plugin loads before the parent plugin, the code inside the conditional is never run. Alternatively, if the parent plugin never loads at all, the only downside is polluting the global function namespace with one function name.