-
Notifications
You must be signed in to change notification settings - Fork 148
Expand file tree
/
Copy pathApplicationAction.class.php
More file actions
48 lines (43 loc) · 1.2 KB
/
ApplicationAction.class.php
File metadata and controls
48 lines (43 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
namespace wcf\data\application;
use wcf\command\application\MarkApplicationAsTainted;
use wcf\command\application\SynchronizeCookieDomain;
use wcf\data\AbstractDatabaseObjectAction;
/**
* Executes application-related actions.
*
* @author Alexander Ebert
* @copyright 2001-2019 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
*
* @extends AbstractDatabaseObjectAction<Application, ApplicationEditor>
*/
class ApplicationAction extends AbstractDatabaseObjectAction
{
/**
* @inheritDoc
*/
protected $className = ApplicationEditor::class;
/**
* Assigns a list of applications to a group and computes cookie domain.
*
* @return void
*
* @deprecated 6.3 use `SynchronizeCookieDomain`
*/
public function rebuild()
{
(new SynchronizeCookieDomain())();
}
/**
* Marks an application as tainted, prevents loading it during uninstallation.
*
* @return void
*
* @deprecated 6.3 use `MarkApplicationAsTainted`
*/
public function markAsTainted()
{
(new MarkApplicationAsTainted($this->getSingleObject()->getDecoratedObject()))();
}
}