1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 23:26:41 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-05 14:13:18 -08:00
parent d37d4bf8af
commit 09fb747374
30 changed files with 125 additions and 89 deletions

View File

@@ -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' "))
{

View File

@@ -198,7 +198,7 @@ class rss_import extends base_import_class
}
function process($type='description',$source)
function process($type,$source)
{
switch ($type)
{