clear stale recoreco_clone/source on arm so ex-copies become clean templates (v1.1.3)
This commit is contained in:
@@ -168,6 +168,13 @@ class QualKardHelper extends Base
|
|||||||
'recoreco_frequency' => 'daily',
|
'recoreco_frequency' => 'daily',
|
||||||
'recoreco_anchor' => 0,
|
'recoreco_anchor' => 0,
|
||||||
));
|
));
|
||||||
|
|
||||||
|
// QualKard adopts the card as a fresh flashcard, so wipe any stale RecoReco copy lineage. A
|
||||||
|
// card that was a RecoReco duplicate carries recoreco_clone/recoreco_source; left in place it
|
||||||
|
// makes an armed QualKard card look like a copy (yellow icon, "cannot be made recurring"
|
||||||
|
// modal) while the cron still moves it. Removing them makes it a clean move-mode template.
|
||||||
|
$this->taskMetadataModel->remove($task_id, 'recoreco_clone');
|
||||||
|
$this->taskMetadataModel->remove($task_id, 'recoreco_source');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ class Plugin extends Base
|
|||||||
|
|
||||||
public function getPluginVersion()
|
public function getPluginVersion()
|
||||||
{
|
{
|
||||||
return '1.1.2';
|
return '1.1.3';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPluginHomepage()
|
public function getPluginHomepage()
|
||||||
|
|||||||
Reference in New Issue
Block a user