mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
🤖 Auto commit for release 'develop' on 2025-07-31
This commit is contained in:
@@ -85,7 +85,7 @@ class ShowController extends Controller
|
|||||||
$enrichment->setUser($admin);
|
$enrichment->setUser($admin);
|
||||||
$enrichment->setConvertToNative($this->convertToNative);
|
$enrichment->setConvertToNative($this->convertToNative);
|
||||||
$enrichment->setNative($this->nativeCurrency);
|
$enrichment->setNative($this->nativeCurrency);
|
||||||
$bills = $enrichment->enrich($bills);
|
$bills = $enrichment->enrich($bills);
|
||||||
|
|
||||||
/** @var BillTransformer $transformer */
|
/** @var BillTransformer $transformer */
|
||||||
$transformer = app(BillTransformer::class);
|
$transformer = app(BillTransformer::class);
|
||||||
|
@@ -1,8 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace FireflyIII\Support\JsonApi\Enrichments;
|
namespace FireflyIII\Support\JsonApi\Enrichments;
|
||||||
|
|
||||||
use FireflyIII\Models\Account;
|
|
||||||
use FireflyIII\Models\Bill;
|
use FireflyIII\Models\Bill;
|
||||||
use FireflyIII\Models\Note;
|
use FireflyIII\Models\Note;
|
||||||
use FireflyIII\Models\ObjectGroup;
|
use FireflyIII\Models\ObjectGroup;
|
||||||
@@ -22,10 +23,10 @@ class SubscriptionEnrichment implements EnrichmentInterface
|
|||||||
private UserGroup $userGroup;
|
private UserGroup $userGroup;
|
||||||
private Collection $collection;
|
private Collection $collection;
|
||||||
private bool $convertToNative = false;
|
private bool $convertToNative = false;
|
||||||
private array $subscriptionIds = [];
|
private array $subscriptionIds = [];
|
||||||
private array $objectGroups = [];
|
private array $objectGroups = [];
|
||||||
private array $mappedObjects = [];
|
private array $mappedObjects = [];
|
||||||
private array $notes = [];
|
private array $notes = [];
|
||||||
private TransactionCurrency $nativeCurrency;
|
private TransactionCurrency $nativeCurrency;
|
||||||
|
|
||||||
public function enrich(Collection $collection): Collection
|
public function enrich(Collection $collection): Collection
|
||||||
@@ -35,18 +36,18 @@ class SubscriptionEnrichment implements EnrichmentInterface
|
|||||||
$this->collectNotes();
|
$this->collectNotes();
|
||||||
$this->collectObjectGroups();
|
$this->collectObjectGroups();
|
||||||
|
|
||||||
$notes = $this->notes;
|
$notes = $this->notes;
|
||||||
$objectGroups = $this->objectGroups;
|
$objectGroups = $this->objectGroups;
|
||||||
$this->collection = $this->collection->map(function (Bill $item) use ($notes, $objectGroups) {
|
$this->collection = $this->collection->map(function (Bill $item) use ($notes, $objectGroups) {
|
||||||
$id = (int) $item->id;
|
$id = (int) $item->id;
|
||||||
$currency = $item->transactionCurrency;
|
$currency = $item->transactionCurrency;
|
||||||
$meta = [
|
$meta = [
|
||||||
'notes' => null,
|
'notes' => null,
|
||||||
'object_group_id' => null,
|
'object_group_id' => null,
|
||||||
'object_group_title' => null,
|
'object_group_title' => null,
|
||||||
'object_group_order' => null,
|
'object_group_order' => null,
|
||||||
];
|
];
|
||||||
$amounts = [
|
$amounts = [
|
||||||
'amount_min' => Steam::bcround($item->amount_min, $currency->decimal_places),
|
'amount_min' => Steam::bcround($item->amount_min, $currency->decimal_places),
|
||||||
'amount_max' => Steam::bcround($item->amount_max, $currency->decimal_places),
|
'amount_max' => Steam::bcround($item->amount_max, $currency->decimal_places),
|
||||||
'average' => Steam::bcround(bcdiv(bcadd($item->amount_min, $item->amount_max), '2'), $currency->decimal_places),
|
'average' => Steam::bcround(bcdiv(bcadd($item->amount_min, $item->amount_max), '2'), $currency->decimal_places),
|
||||||
@@ -54,7 +55,7 @@ class SubscriptionEnrichment implements EnrichmentInterface
|
|||||||
|
|
||||||
// add object group if available
|
// add object group if available
|
||||||
if (array_key_exists($id, $this->mappedObjects)) {
|
if (array_key_exists($id, $this->mappedObjects)) {
|
||||||
$key = $this->mappedObjects[$id];
|
$key = $this->mappedObjects[$id];
|
||||||
$meta['object_group_id'] = $objectGroups[$key]['id'];
|
$meta['object_group_id'] = $objectGroups[$key]['id'];
|
||||||
$meta['object_group_title'] = $objectGroups[$key]['title'];
|
$meta['object_group_title'] = $objectGroups[$key]['title'];
|
||||||
$meta['object_group_order'] = $objectGroups[$key]['order'];
|
$meta['object_group_order'] = $objectGroups[$key]['order'];
|
||||||
@@ -72,17 +73,18 @@ class SubscriptionEnrichment implements EnrichmentInterface
|
|||||||
'amount_min' => Steam::bcround($converter->convert($item->transactionCurrency, $this->nativeCurrency, today(), $item->amount_min), $this->nativeCurrency->decimal_places),
|
'amount_min' => Steam::bcround($converter->convert($item->transactionCurrency, $this->nativeCurrency, today(), $item->amount_min), $this->nativeCurrency->decimal_places),
|
||||||
'amount_max' => Steam::bcround($converter->convert($item->transactionCurrency, $this->nativeCurrency, today(), $item->amount_max), $this->nativeCurrency->decimal_places),
|
'amount_max' => Steam::bcround($converter->convert($item->transactionCurrency, $this->nativeCurrency, today(), $item->amount_max), $this->nativeCurrency->decimal_places),
|
||||||
];
|
];
|
||||||
$amounts['average'] =Steam::bcround(bcdiv(bcadd($amounts['amount_min'], $amounts['amount_max']), '2'), $this->nativeCurrency->decimal_places);
|
$amounts['average'] = Steam::bcround(bcdiv(bcadd($amounts['amount_min'], $amounts['amount_max']), '2'), $this->nativeCurrency->decimal_places);
|
||||||
}
|
}
|
||||||
$item->amounts = $amounts;
|
$item->amounts = $amounts;
|
||||||
$item->meta = $meta;
|
$item->meta = $meta;
|
||||||
|
|
||||||
return $item;
|
return $item;
|
||||||
});
|
});
|
||||||
|
|
||||||
return $collection;
|
return $collection;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function enrichSingle(Model|array $model): array|Model
|
public function enrichSingle(array|Model $model): array|Model
|
||||||
{
|
{
|
||||||
Log::debug(__METHOD__);
|
Log::debug(__METHOD__);
|
||||||
$collection = new Collection([$model]);
|
$collection = new Collection([$model]);
|
||||||
@@ -94,9 +96,9 @@ class SubscriptionEnrichment implements EnrichmentInterface
|
|||||||
private function collectNotes(): void
|
private function collectNotes(): void
|
||||||
{
|
{
|
||||||
$notes = Note::query()->whereIn('noteable_id', $this->subscriptionIds)
|
$notes = Note::query()->whereIn('noteable_id', $this->subscriptionIds)
|
||||||
->whereNotNull('notes.text')
|
->whereNotNull('notes.text')
|
||||||
->where('notes.text', '!=', '')
|
->where('notes.text', '!=', '')
|
||||||
->where('noteable_type', Bill::class)->get(['notes.noteable_id', 'notes.text'])->toArray()
|
->where('noteable_type', Bill::class)->get(['notes.noteable_id', 'notes.text'])->toArray()
|
||||||
;
|
;
|
||||||
foreach ($notes as $note) {
|
foreach ($notes as $note) {
|
||||||
$this->notes[(int) $note['noteable_id']] = (string) $note['text'];
|
$this->notes[(int) $note['noteable_id']] = (string) $note['text'];
|
||||||
@@ -124,34 +126,35 @@ class SubscriptionEnrichment implements EnrichmentInterface
|
|||||||
{
|
{
|
||||||
$this->nativeCurrency = $nativeCurrency;
|
$this->nativeCurrency = $nativeCurrency;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function collectSubscriptionIds(): void
|
private function collectSubscriptionIds(): void
|
||||||
{
|
{
|
||||||
/** @var Bill $bill */
|
/** @var Bill $bill */
|
||||||
foreach ($this->collection as $bill) {
|
foreach ($this->collection as $bill) {
|
||||||
$this->subscriptionIds[] = (int) $bill->id;
|
$this->subscriptionIds[] = (int) $bill->id;
|
||||||
}
|
}
|
||||||
$this->subscriptionIds = array_unique($this->subscriptionIds);
|
$this->subscriptionIds = array_unique($this->subscriptionIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function collectObjectGroups(): void
|
private function collectObjectGroups(): void
|
||||||
{
|
{
|
||||||
$set = DB::table('object_groupables')
|
$set = DB::table('object_groupables')
|
||||||
->whereIn('object_groupable_id', $this->subscriptionIds)
|
->whereIn('object_groupable_id', $this->subscriptionIds)
|
||||||
->where('object_groupable_type', Bill::class)
|
->where('object_groupable_type', Bill::class)
|
||||||
->get(['object_groupable_id','object_group_id']);
|
->get(['object_groupable_id', 'object_group_id'])
|
||||||
|
;
|
||||||
|
|
||||||
$ids = array_unique($set->pluck('object_group_id')->toArray());
|
$ids = array_unique($set->pluck('object_group_id')->toArray());
|
||||||
|
|
||||||
foreach($set as $entry) {
|
foreach ($set as $entry) {
|
||||||
$this->mappedObjects[(int)$entry->object_groupable_id] = (int)$entry->object_group_id;
|
$this->mappedObjects[(int)$entry->object_groupable_id] = (int)$entry->object_group_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
$groups = ObjectGroup::whereIn('id', $ids)->get(['id', 'title','order'])->toArray();
|
$groups = ObjectGroup::whereIn('id', $ids)->get(['id', 'title', 'order'])->toArray();
|
||||||
foreach($groups as $group) {
|
foreach ($groups as $group) {
|
||||||
$group['id'] = (int) $group['id'];
|
$group['id'] = (int) $group['id'];
|
||||||
$group['order'] = (int) $group['order'];
|
$group['order'] = (int) $group['order'];
|
||||||
$this->objectGroups[(int)$group['id']] = $group;
|
$this->objectGroups[(int)$group['id']] = $group;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -27,7 +27,6 @@ namespace FireflyIII\Transformers;
|
|||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use Carbon\CarbonInterface;
|
use Carbon\CarbonInterface;
|
||||||
use FireflyIII\Models\Bill;
|
use FireflyIII\Models\Bill;
|
||||||
use FireflyIII\Models\ObjectGroup;
|
|
||||||
use FireflyIII\Models\TransactionCurrency;
|
use FireflyIII\Models\TransactionCurrency;
|
||||||
use FireflyIII\Models\TransactionJournal;
|
use FireflyIII\Models\TransactionJournal;
|
||||||
use FireflyIII\Repositories\Bill\BillRepositoryInterface;
|
use FireflyIII\Repositories\Bill\BillRepositoryInterface;
|
||||||
@@ -66,19 +65,19 @@ class BillTransformer extends AbstractTransformer
|
|||||||
*/
|
*/
|
||||||
public function transform(Bill $bill): array
|
public function transform(Bill $bill): array
|
||||||
{
|
{
|
||||||
$paidData = $this->paidData($bill);
|
$paidData = $this->paidData($bill);
|
||||||
$lastPaidDate = $this->getLastPaidDate($paidData);
|
$lastPaidDate = $this->getLastPaidDate($paidData);
|
||||||
$start = $this->parameters->get('start') ?? today()->subYears(10);
|
$start = $this->parameters->get('start') ?? today()->subYears(10);
|
||||||
$end = $this->parameters->get('end') ?? today()->addYears(10);
|
$end = $this->parameters->get('end') ?? today()->addYears(10);
|
||||||
$payDates = $this->calculator->getPayDates($start, $end, $bill->date, $bill->repeat_freq, $bill->skip, $lastPaidDate);
|
$payDates = $this->calculator->getPayDates($start, $end, $bill->date, $bill->repeat_freq, $bill->skip, $lastPaidDate);
|
||||||
$currency = $bill->transactionCurrency;
|
$currency = $bill->transactionCurrency;
|
||||||
$this->repository->setUser($bill->user);
|
$this->repository->setUser($bill->user);
|
||||||
|
|
||||||
|
|
||||||
$paidDataFormatted = [];
|
$paidDataFormatted = [];
|
||||||
$payDatesFormatted = [];
|
$payDatesFormatted = [];
|
||||||
foreach ($paidData as $object) {
|
foreach ($paidData as $object) {
|
||||||
$date = Carbon::createFromFormat('!Y-m-d', $object['date'], config('app.timezone'));
|
$date = Carbon::createFromFormat('!Y-m-d', $object['date'], config('app.timezone'));
|
||||||
if (!$date instanceof Carbon) {
|
if (!$date instanceof Carbon) {
|
||||||
$date = today(config('app.timezone'));
|
$date = today(config('app.timezone'));
|
||||||
}
|
}
|
||||||
@@ -87,24 +86,24 @@ class BillTransformer extends AbstractTransformer
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($payDates as $string) {
|
foreach ($payDates as $string) {
|
||||||
$date = Carbon::createFromFormat('!Y-m-d', $string, config('app.timezone'));
|
$date = Carbon::createFromFormat('!Y-m-d', $string, config('app.timezone'));
|
||||||
if (!$date instanceof Carbon) {
|
if (!$date instanceof Carbon) {
|
||||||
$date = today(config('app.timezone'));
|
$date = today(config('app.timezone'));
|
||||||
}
|
}
|
||||||
$payDatesFormatted[] = $date->toAtomString();
|
$payDatesFormatted[] = $date->toAtomString();
|
||||||
}
|
}
|
||||||
// next expected match
|
// next expected match
|
||||||
$nem = null;
|
$nem = null;
|
||||||
$nemDate = null;
|
$nemDate = null;
|
||||||
$nemDiff = trans('firefly.not_expected_period');
|
$nemDiff = trans('firefly.not_expected_period');
|
||||||
$firstPayDate = $payDates[0] ?? null;
|
$firstPayDate = $payDates[0] ?? null;
|
||||||
|
|
||||||
if (null !== $firstPayDate) {
|
if (null !== $firstPayDate) {
|
||||||
$nemDate = Carbon::createFromFormat('!Y-m-d', $firstPayDate, config('app.timezone'));
|
$nemDate = Carbon::createFromFormat('!Y-m-d', $firstPayDate, config('app.timezone'));
|
||||||
if (!$nemDate instanceof Carbon) {
|
if (!$nemDate instanceof Carbon) {
|
||||||
$nemDate = today(config('app.timezone'));
|
$nemDate = today(config('app.timezone'));
|
||||||
}
|
}
|
||||||
$nem = $nemDate->toAtomString();
|
$nem = $nemDate->toAtomString();
|
||||||
|
|
||||||
// nullify again when it's outside the current view range.
|
// nullify again when it's outside the current view range.
|
||||||
if (
|
if (
|
||||||
@@ -125,7 +124,7 @@ class BillTransformer extends AbstractTransformer
|
|||||||
|
|
||||||
$current = $payDatesFormatted[0] ?? null;
|
$current = $payDatesFormatted[0] ?? null;
|
||||||
if (null !== $current && !$nemDate->isToday()) {
|
if (null !== $current && !$nemDate->isToday()) {
|
||||||
$temp2 = Carbon::createFromFormat('Y-m-d\TH:i:sP', $current);
|
$temp2 = Carbon::createFromFormat('Y-m-d\TH:i:sP', $current);
|
||||||
if (!$temp2 instanceof Carbon) {
|
if (!$temp2 instanceof Carbon) {
|
||||||
$temp2 = today(config('app.timezone'));
|
$temp2 = today(config('app.timezone'));
|
||||||
}
|
}
|
||||||
@@ -135,44 +134,44 @@ class BillTransformer extends AbstractTransformer
|
|||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'id' => $bill->id,
|
'id' => $bill->id,
|
||||||
'created_at' => $bill->created_at->toAtomString(),
|
'created_at' => $bill->created_at->toAtomString(),
|
||||||
'updated_at' => $bill->updated_at->toAtomString(),
|
'updated_at' => $bill->updated_at->toAtomString(),
|
||||||
'currency_id' => (string)$bill->transaction_currency_id,
|
'currency_id' => (string)$bill->transaction_currency_id,
|
||||||
'currency_code' => $currency->code,
|
'currency_code' => $currency->code,
|
||||||
'currency_symbol' => $currency->symbol,
|
'currency_symbol' => $currency->symbol,
|
||||||
'currency_decimal_places' => $currency->decimal_places,
|
'currency_decimal_places' => $currency->decimal_places,
|
||||||
|
|
||||||
'native_currency_id' => (string)$this->native->id,
|
'native_currency_id' => (string)$this->native->id,
|
||||||
'native_currency_code' => $this->native->code,
|
'native_currency_code' => $this->native->code,
|
||||||
'native_currency_symbol' => $this->native->symbol,
|
'native_currency_symbol' => $this->native->symbol,
|
||||||
'native_currency_decimal_places' => $this->native->decimal_places,
|
'native_currency_decimal_places' => $this->native->decimal_places,
|
||||||
|
|
||||||
'name' => $bill->name,
|
'name' => $bill->name,
|
||||||
'amount_min' => $bill->amounts['amount_min'],
|
'amount_min' => $bill->amounts['amount_min'],
|
||||||
'amount_max' => $bill->amounts['amount_max'],
|
'amount_max' => $bill->amounts['amount_max'],
|
||||||
'amount_avg' => $bill->amounts['average'],
|
'amount_avg' => $bill->amounts['average'],
|
||||||
'date' => $bill->date->toAtomString(),
|
'date' => $bill->date->toAtomString(),
|
||||||
'end_date' => $bill->end_date?->toAtomString(),
|
'end_date' => $bill->end_date?->toAtomString(),
|
||||||
'extension_date' => $bill->extension_date?->toAtomString(),
|
'extension_date' => $bill->extension_date?->toAtomString(),
|
||||||
'repeat_freq' => $bill->repeat_freq,
|
'repeat_freq' => $bill->repeat_freq,
|
||||||
'skip' => $bill->skip,
|
'skip' => $bill->skip,
|
||||||
'active' => $bill->active,
|
'active' => $bill->active,
|
||||||
'order' => $bill->order,
|
'order' => $bill->order,
|
||||||
'notes' => $bill->meta['notes'],
|
'notes' => $bill->meta['notes'],
|
||||||
'object_group_id' => $bill->meta['object_group_id'],
|
'object_group_id' => $bill->meta['object_group_id'],
|
||||||
'object_group_order' => $bill->meta['object_group_order'],
|
'object_group_order' => $bill->meta['object_group_order'],
|
||||||
'object_group_title' => $bill->meta['object_group_title'],
|
'object_group_title' => $bill->meta['object_group_title'],
|
||||||
|
|
||||||
// these fields need work:
|
// these fields need work:
|
||||||
// 'next_expected_match' => $nem,
|
// 'next_expected_match' => $nem,
|
||||||
// 'next_expected_match_diff' => $nemDiff,
|
// 'next_expected_match_diff' => $nemDiff,
|
||||||
// 'pay_dates' => $payDatesFormatted,
|
// 'pay_dates' => $payDatesFormatted,
|
||||||
// 'paid_dates' => $paidDataFormatted,
|
// 'paid_dates' => $paidDataFormatted,
|
||||||
'links' => [
|
'links' => [
|
||||||
[
|
[
|
||||||
'rel' => 'self',
|
'rel' => 'self',
|
||||||
'uri' => '/bills/' . $bill->id,
|
'uri' => '/bills/'.$bill->id,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
@@ -194,13 +193,13 @@ class BillTransformer extends AbstractTransformer
|
|||||||
// 2023-07-18 this particular date is used to search for the last paid date.
|
// 2023-07-18 this particular date is used to search for the last paid date.
|
||||||
// 2023-07-18 the cloned $searchDate is used to grab the correct transactions.
|
// 2023-07-18 the cloned $searchDate is used to grab the correct transactions.
|
||||||
/** @var Carbon $start */
|
/** @var Carbon $start */
|
||||||
$start = clone $this->parameters->get('start');
|
$start = clone $this->parameters->get('start');
|
||||||
$searchStart = clone $start;
|
$searchStart = clone $start;
|
||||||
$start->subDay();
|
$start->subDay();
|
||||||
|
|
||||||
/** @var Carbon $end */
|
/** @var Carbon $end */
|
||||||
$end = clone $this->parameters->get('end');
|
$end = clone $this->parameters->get('end');
|
||||||
$searchEnd = clone $end;
|
$searchEnd = clone $end;
|
||||||
|
|
||||||
// move the search dates to the start of the day.
|
// move the search dates to the start of the day.
|
||||||
$searchStart->startOfDay();
|
$searchStart->startOfDay();
|
||||||
@@ -210,7 +209,7 @@ class BillTransformer extends AbstractTransformer
|
|||||||
Log::debug(sprintf('Search parameters are: start: %s', $searchStart->format('Y-m-d')));
|
Log::debug(sprintf('Search parameters are: start: %s', $searchStart->format('Y-m-d')));
|
||||||
|
|
||||||
// Get from database when bill was paid.
|
// Get from database when bill was paid.
|
||||||
$set = $this->repository->getPaidDatesInRange($bill, $searchStart, $searchEnd);
|
$set = $this->repository->getPaidDatesInRange($bill, $searchStart, $searchEnd);
|
||||||
Log::debug(sprintf('Count %d entries in getPaidDatesInRange()', $set->count()));
|
Log::debug(sprintf('Count %d entries in getPaidDatesInRange()', $set->count()));
|
||||||
|
|
||||||
// Grab from array the most recent payment. If none exist, fall back to the start date and pretend *that* was the last paid date.
|
// Grab from array the most recent payment. If none exist, fall back to the start date and pretend *that* was the last paid date.
|
||||||
@@ -219,9 +218,9 @@ class BillTransformer extends AbstractTransformer
|
|||||||
Log::debug(sprintf('Result of lastPaidDate is %s', $lastPaidDate->format('Y-m-d')));
|
Log::debug(sprintf('Result of lastPaidDate is %s', $lastPaidDate->format('Y-m-d')));
|
||||||
|
|
||||||
// At this point the "next match" is exactly after the last time the bill was paid.
|
// At this point the "next match" is exactly after the last time the bill was paid.
|
||||||
$result = [];
|
$result = [];
|
||||||
foreach ($set as $entry) {
|
foreach ($set as $entry) {
|
||||||
$array = [
|
$array = [
|
||||||
'transaction_group_id' => (string)$entry->transaction_group_id,
|
'transaction_group_id' => (string)$entry->transaction_group_id,
|
||||||
'transaction_journal_id' => (string)$entry->id,
|
'transaction_journal_id' => (string)$entry->id,
|
||||||
'date' => $entry->date->format('Y-m-d'),
|
'date' => $entry->date->format('Y-m-d'),
|
||||||
|
@@ -78,8 +78,8 @@ return [
|
|||||||
'running_balance_column' => env('USE_RUNNING_BALANCE', false),
|
'running_balance_column' => env('USE_RUNNING_BALANCE', false),
|
||||||
// see cer.php for exchange rates feature flag.
|
// see cer.php for exchange rates feature flag.
|
||||||
],
|
],
|
||||||
'version' => 'develop/2025-07-30',
|
'version' => 'develop/2025-07-31',
|
||||||
'build_time' => 1753878970,
|
'build_time' => 1753936691,
|
||||||
'api_version' => '2.1.0', // field is no longer used.
|
'api_version' => '2.1.0', // field is no longer used.
|
||||||
'db_version' => 26,
|
'db_version' => 26,
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user