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:
@@ -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);
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user