Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jul 11, 2024

Backport of PR #46428

@backportbot backportbot bot added 3. to review Waiting for reviews tests Related to tests labels Jul 11, 2024
@backportbot backportbot bot added this to the Nextcloud 29.0.4 milestone Jul 11, 2024
@SystemKeeper SystemKeeper enabled auto-merge July 11, 2024 05:30
public function undoAll(): void {
// Remember the current cachebuster value, as we do not want to reset this value
// Otherwise this can lead to caching issues as the value might be known to a browser already
$cacheBusterKey = $this->config->getAppValue('theming', 'cachebuster', '0');

Check notice

Code scanning / Psalm

DeprecatedMethod

The method OCP\IConfig::getAppValue has been marked as deprecated
// Otherwise this can lead to caching issues as the value might be known to a browser already
$cacheBusterKey = $this->config->getAppValue('theming', 'cachebuster', '0');
$this->config->deleteAppValues('theming');
$this->config->setAppValue('theming', 'cachebuster', $cacheBusterKey);

Check notice

Code scanning / Psalm

DeprecatedMethod

The method OCP\IConfig::setAppValue has been marked as deprecated
@SystemKeeper SystemKeeper merged commit 0986d29 into stable29 Jul 11, 2024
@SystemKeeper SystemKeeper deleted the backport/46428/stable29 branch July 11, 2024 06:28
@Altahrim Altahrim mentioned this pull request Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants