Overview
Comment:Force quota refresh in advanced
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 94587ef7d6900773b6c34662d20eea2223671392027daf05dfad843abd0b7854
User & Date: bohwaz on 2021-04-11 13:28:42
Other Links: manifest | tags
Context
2021-04-11
13:29
Fix background image reset check-in: cbde96edab user: bohwaz tags: trunk, stable
13:28
Force quota refresh in advanced check-in: 94587ef7d6 user: bohwaz tags: trunk
2021-04-10
20:13
Fix attachments URL check-in: 433acb66ef user: bohwaz tags: trunk, stable
Changes

Modified src/www/admin/config/advanced/index.php from [68a26e2219] to [391415153c].

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Garradin;

use Garradin\Accounting\Years;
use Garradin\Files\Files;

require_once __DIR__ . '/../_inc.php';

$quota_used = Files::getUsedQuota();

$form->runIf('reset_ok', function () use ($session) {
	Install::reset($session, f('passe_verif'));
}, 'reset', Utils::getSelfURI(['msg' => 'RESET']));

$form->runIf('reopen_ok', function () use ($session) {
	$year = Years::get((int) f('year'));







|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Garradin;

use Garradin\Accounting\Years;
use Garradin\Files\Files;

require_once __DIR__ . '/../_inc.php';

$quota_used = Files::getUsedQuota(true);

$form->runIf('reset_ok', function () use ($session) {
	Install::reset($session, f('passe_verif'));
}, 'reset', Utils::getSelfURI(['msg' => 'RESET']));

$form->runIf('reopen_ok', function () use ($session) {
	$year = Years::get((int) f('year'));