fannie/modules/plugins2.0/OpenBookFinancingV2/ObfPlanPage.php
Method get_view
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_view()
{
$res = $this->connection->query('
SELECT obfCategoryID, name, storeID
FROM ' . FannieDB::fqn('ObfCategories', 'plugin:ObfDatabaseV2') . '
Method post_view
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function post_view()
{
$settings = $this->config->get('PLUGIN_SETTINGS');
$model = new ObfPlansModel($this->connection);
$model->whichDB($settings['ObfDatabaseV2']);