Rename to singular

Rename and update references. Standards and a require_once.
This commit is contained in:
Adam Magness 2017-12-04 09:01:27 -05:00
parent 2f0da29c75
commit 6e5471def3
22 changed files with 59 additions and 56 deletions

View file

@ -2291,7 +2291,7 @@ function admin_page_features_post(App $a)
logger('postvars: ' . print_r($_POST, true), LOGGER_DATA);
$arr = array();
$features = Features::get(false);
$features = Feature::get(false);
foreach ($features as $fname => $fdata) {
foreach (array_slice($fdata, 1) as $f) {
@ -2336,7 +2336,7 @@ function admin_page_features(App $a)
{
if ((argc() > 1) && (argv(1) === 'features')) {
$arr = array();
$features = Features::get(false);
$features = Feature::get(false);
foreach ($features as $fname => $fdata) {
$arr[$fname] = array();