Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -272,7 +272,7 @@ class _Import extends \IPS\Node\Model
|
||||
$form->add( new \IPS\Helpers\Form\YesNo( 'rss_import_auto_follow', $this->auto_follow, FALSE, array(), NULL, NULL, NULL, 'rss_import_auto_follow' ) );
|
||||
$this->_extension->form( $form, $this );
|
||||
|
||||
\IPS\Member::loggedIn()->language()->words['rss_import_auto_follow'] = \IPS\Member::loggedIn()->language()->addToStack( 'rss_import_auto_follow_lang', NULL, array( 'sprintf' => array( $class::_definiteArticle() ) ) );
|
||||
\IPS\Member::loggedIn()->language()->words['rss_import_auto_follow'] = \IPS\Member::loggedIn()->language()->addToStack( 'rss_import_auto_follow_lang', FALSE, array( 'sprintf' => array( $class::_definiteArticle() ) ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -428,7 +428,7 @@ class _Import extends \IPS\Node\Model
|
||||
$timeNow = \IPS\DateTime::create();
|
||||
if( $article['date'] > $timeNow )
|
||||
{
|
||||
$artice['date'] = \IPS\DateTime::create();
|
||||
$article['date'] = \IPS\DateTime::create();
|
||||
}
|
||||
|
||||
$article['guid'] = $guid;
|
||||
@@ -576,6 +576,12 @@ class _Import extends \IPS\Node\Model
|
||||
'follow_visible' => 1,
|
||||
) );
|
||||
}
|
||||
|
||||
/* Re-index to pick up any changes to hidden, etc */
|
||||
if ( $item instanceof \IPS\Content\Searchable )
|
||||
{
|
||||
\IPS\Content\Search\Index::i()->index( $item );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user