diff --git a/src/Cleaner/Logs.php b/src/Cleaner/Logs.php index d80a4b2..6463c59 100644 --- a/src/Cleaner/Logs.php +++ b/src/Cleaner/Logs.php @@ -99,7 +99,7 @@ class Logs extends CleanerParent $sql = new DeleteStatement(); $sql->from(dcCore::app()->prefix . dcLog::LOG_TABLE_NAME) ->where('log_table = ' . $sql->quote((string) $ns)) - ->and($sql->orGroup(['blog_id IS NULL', 'blog_id IS NOT NULL'])) + //->and($sql->orGroup(['blog_id IS NULL', 'blog_id IS NOT NULL'])) ->delete(); return true; diff --git a/src/Uninstaller.php b/src/Uninstaller.php index 5727b8f..c4ef2a1 100644 --- a/src/Uninstaller.php +++ b/src/Uninstaller.php @@ -26,7 +26,7 @@ use Exception; */ class Uninstaller { - /** @var string The Uninstall class name */ + /** @var string The module Uninstall class name */ public const UNINSTALL_CLASS_NAME = 'Uninstall'; /** @var CleanersStack $cleaners The cleaners stack */ @@ -156,9 +156,9 @@ class Uninstaller } /** - * Add a predefined action to direct unsintall features. + * Add a predefined action to direct uninstall features. * - * This method should be called from module Uninstall::proces() method. + * This method should be called from module Uninstall::process() method. * Direct actions will be called from behavior xxxBeforeDelete and * user will NOT be prompted before these actions execution. * Note: If module is disabled, direct actions are not executed.