detain/myadmin-plugin-installer

View on GitHub
src/function_requirements.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * @author Joe Huss <detain@interserver.net>
 * @copyright 2019
 * @package Plugins
 */

/**
 * loads the files needed to run the given class or function
 *
 * @param $function
 * @return bool whether or not it found the given function/class
 */
function function_requirements($function)
{
    return $GLOBALS['tf']->function_requirements($function);
}