mirror of
https://github.com/friendica/friendica
synced 2025-04-25 00:30:32 +00:00
Code Style: Replace "AS" with "as"
This commit is contained in:
parent
96b41fdb67
commit
9961943b73
10 changed files with 39 additions and 39 deletions
|
@ -102,7 +102,7 @@ class View
|
|||
{
|
||||
$database = self::definition($basePath, false);
|
||||
|
||||
foreach ($database AS $name => $structure) {
|
||||
foreach ($database as $name => $structure) {
|
||||
echo "--\n";
|
||||
echo "-- VIEW $name\n";
|
||||
echo "--\n";
|
||||
|
@ -117,7 +117,7 @@ class View
|
|||
$r = true;
|
||||
|
||||
$sql_rows = [];
|
||||
foreach ($structure["fields"] AS $fieldname => $origin) {
|
||||
foreach ($structure["fields"] as $fieldname => $origin) {
|
||||
if (is_string($origin)) {
|
||||
$sql_rows[] = $origin . " AS `" . DBA::escape($fieldname) . "`";
|
||||
} elseif (is_array($origin) && (sizeof($origin) == 2)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue