Skip to content
Snippets Groups Projects
Commit 67d5454a authored by Demian Katz's avatar Demian Katz
Browse files

Remove obsolete reference to internal stats system.

parent 50385265
Branches
Tags
No related merge requests found
......@@ -284,17 +284,6 @@ class UpgradeController extends AbstractBase
. ' legacy "VuFind" source value(s) in resource table'
);
}
$userStatsFields = $this->getTable('userstatsfields');
$usfWhere = ['field' => 'recordSource', 'value' => 'VuFind'];
$usfRows = $userStatsFields->select($usfWhere);
if (count($usfRows) > 0) {
$userStatsFields->update(['value' => 'Solr'], $usfWhere);
$this->session->warnings->append(
'Converted ' . count($usfRows)
. ' legacy "VuFind" source value(s) in user_stats_fields table'
);
}
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment