*/
function testReadityourselfLinklist()
{
- $GLOBALS['plugins']['READITYOUSELF_URL'] = 'value';
+ $conf = ConfigManager::getInstance();
+ $conf->set('plugins.READITYOUSELF_URL', 'value');
$str = 'http://randomstr.com/test';
$data = array(
'title' => $str,
*/
function testReadityourselfLinklistWithoutConfig()
{
- unset($GLOBALS['plugins']['READITYOUSELF_URL']);
+ $conf = ConfigManager::getInstance();
+ $conf->set('plugins.READITYOUSELF_URL', null);
$str = 'http://randomstr.com/test';
$data = array(
'title' => $str,