Skip to content

Commit

Permalink
Moved latest version of 2.1 to RC4 or later.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdarwood007 committed Jul 29, 2021
1 parent 97ea367 commit 59139da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions SMF 2.1/SearchAPI-Sphinxql.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class sphinxql_search extends search_api
/**
* @var string The minimum SMF version that this will work with
*/
public $min_smf_version = 'SMF 2.1 Beta 1';
public $min_smf_version = 'SMF 2.1 RC4';

/**
* @var bool Whether or not it's supported
Expand Down Expand Up @@ -461,7 +461,7 @@ function _cleanString($string)
*/
public function postCreated(array &$msgOptions, array &$topicOptions, array &$posterOptions)
{
return ture;
return true;
// !! SphinxQL Does support updating the search index from its QL interface.
// !! Sphinx for SMF does not support this at this time. Code is provided
// !! here as examples/testing purposes.
Expand Down Expand Up @@ -568,7 +568,7 @@ public function postCreated(array &$msgOptions, array &$topicOptions, array &$po
*/
public function postModified(array &$msgOptions, array &$topicOptions, array &$posterOptions)
{
return ture;
return true;
// !! SphinxQL Does support updating the search index from its QL interface.
// !! Sphinx for SMF does not support this at this time. Code is provided
// !! here as examples/testing purposes.
Expand All @@ -586,7 +586,7 @@ public function postModified(array &$msgOptions, array &$topicOptions, array &$p
*/
public function postRemoved($id_msg)
{
return ture;
return true;
// !! SphinxQL Does support updating the search index from its QL interface.
// !! Sphinx for SMF does not support this at this time. Code is provided
// !! here as examples/testing purposes.
Expand Down Expand Up @@ -627,7 +627,7 @@ public function postRemoved($id_msg)
*/
public function topicsRemoved(array $topics)
{
return ture;
return true;
// !! SphinxQL Does support updating the search index from its QL interface.
// !! Sphinx for SMF does not support this at this time. Code is provided
// !! here as examples/testing purposes.
Expand Down Expand Up @@ -664,7 +664,7 @@ public function topicsRemoved(array $topics)
*/
public function topicsMoved(array $topics, $board_to)
{
return ture;
return true;
// !! SphinxQL Does support updating the search index from its QL interface.
// !! Sphinx for SMF does not support this at this time. Code is provided
// !! here as examples/testing purposes.
Expand Down
4 changes: 2 additions & 2 deletions package-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
<remove-file name="$themes_dir/default/languages/Admin-Sphinx.english.php" />
</uninstall>

<install for="SMF 2.1 RC3, 2.1-2.1.99">
<install for="SMF 2.1 RC4, 2.1-2.1.99">
<move-file name="SMF 2.1/SearchAPI-Sphinxql.php" destination="$sourcedir" />
<move-file name="Admin-Sphinx.english.php" destination="$themes_dir/default/languages" />
<redirect url="?action=admin;area=managesearch;sa=method" />
</install>
<uninstall for="SMF 2.1 RC3, 2.1-2.1.99">
<uninstall for="SMF 2.1 RC4, 2.1-2.1.99">
<remove-file name="$sourcedir/SearchAPI-Sphinxql.php" />
<remove-file name="$themes_dir/default/languages/Admin-Sphinx.english.php" />
</uninstall>
Expand Down

0 comments on commit 59139da

Please sign in to comment.