1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 02:57:15 +02:00

Moved old functions out of class2.php.

This commit is contained in:
Cameron
2020-12-25 14:57:53 -08:00
parent d890163836
commit 84a3e45e48
5 changed files with 117 additions and 150 deletions

View File

@@ -41,6 +41,17 @@
$result = getperms('U1|U2', '0.');
$this->assertTrue($result);
/*
$pid = e107::getDb()->retrieve('plugin', 'plugin_id', "plugin_path = 'gallery'");
$result = getperms('P', 'P'.$pid);
$this->assertFalse($result);
// define('e_CURRENT_PLUGIN', 'gallery');
$result = getperms('P', 'P'.$pid);
$this->assertTrue($result);
*/
}