Skip to content

Commit 05d1a9e

Browse files
committed
Merge branch 'classify_cjacobsen' of https://github.com/jacobsen9026/AD-Accounts-Manager into classify_master
2 parents 17a500a + dea436f commit 05d1a9e

File tree

2 files changed

+148
-0
lines changed

2 files changed

+148
-0
lines changed

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 127 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/controllers/Update.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
4+
namespace app\controllers;
5+
6+
7+
use App\App\AppUpdater;
8+
use System\Post;
9+
10+
class Update extends Controller
11+
{
12+
13+
public function indexPost()
14+
{
15+
$csrfCheck = Post::get();
16+
$updater = new AppUpdater();
17+
return $updater->update(false);
18+
19+
20+
}
21+
}

0 commit comments

Comments
 (0)