mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +02:00
Code cleanup
This commit is contained in:
@@ -36,7 +36,8 @@ class phpbb3_import extends base_import_class
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->forum_attachment_path = vartrue(trim($_POST['forum_attachment_path'],"/" ), false);
|
||||
$formattach = trim($_POST['forum_attachment_path'],"/" );
|
||||
$this->forum_attachment_path = vartrue($formattach, false);
|
||||
|
||||
if($data = e107::getDb('phpbb')->retrieve('userclass_classes','userclass_id',"userclass_name='FORUM_MODERATOR' "))
|
||||
{
|
||||
|
@@ -198,7 +198,7 @@ class rss_import extends base_import_class
|
||||
}
|
||||
|
||||
|
||||
function process($type='description',$source)
|
||||
function process($type,$source)
|
||||
{
|
||||
switch ($type)
|
||||
{
|
||||
|
Reference in New Issue
Block a user