Integrations hardening -- Set up dimmed off RecoReco/FinanceBuddy; honest Disable (v0.6.0)
This commit is contained in:
@@ -120,6 +120,18 @@ class QualKardHelper extends Base
|
||||
return (int) $this->projectMetadataModel->get($project_id, 'qualkard_col_'.$role, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Is FinanceBuddy enabled on this board? QualKard refuses to convert a FinanceBuddy board (its
|
||||
* restructure would wreck the finance columns).
|
||||
*
|
||||
* @param int $project_id
|
||||
* @return bool
|
||||
*/
|
||||
public function fbEnabled($project_id)
|
||||
{
|
||||
return (int) $this->projectMetadataModel->get($project_id, 'financebuddy_enabled', 0) === 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Write the inert RecoReco config for a card: move-mode to Study, fire from anywhere but Done,
|
||||
* daily (innocuous -- QualKard sets the due date on each grade), anchor 0 so RecoReco skips it
|
||||
|
||||
Reference in New Issue
Block a user