Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 7122aab

Browse files
1.5
* фиксы
1 parent bdf43d7 commit 7122aab

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/SphinxToolkit.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ public static function rt_RebuildAbstractIndex(PDO $pdo_connection, string $sql_
453453
{
454454
$chunk_size = self::$rlo['chunk_length'];
455455

456-
self::internal_TruncateIndex($sphinx_index);
456+
self::rt_TruncateIndex($sphinx_index);
457457

458458
$total_count
459459
= $pdo_connection
@@ -511,15 +511,6 @@ public static function rt_RebuildAbstractIndex(PDO $pdo_connection, string $sql_
511511
return $total_updated;
512512
}
513513

514-
/**
515-
*
516-
* @param string $index_name
517-
*/
518-
private static function internal_TruncateIndex(string $index_name)
519-
{
520-
(new Helper(self::$spql_connection))->truncateRtIndex($index_name);
521-
}
522-
523514
/**
524515
*
525516
* @param string $index_name

0 commit comments

Comments
 (0)