mirror of
https://github.com/humhub/humhub.git
synced 2025-02-24 03:06:04 +01:00
fix errors
This commit is contained in:
parent
f4a296bae7
commit
7c8858691f
@ -86,7 +86,7 @@ class DefaultController extends Controller
|
||||
$space = $this->getSpace();
|
||||
$space->archive();
|
||||
|
||||
// Create Activity
|
||||
// Create Activity when the space in archieved
|
||||
SpaceArchieved::instance()->from($space)->about($space->owner)->save();
|
||||
|
||||
if (Yii::$app->request->isAjax) {
|
||||
@ -108,7 +108,7 @@ class DefaultController extends Controller
|
||||
$space = $this->getSpace();
|
||||
$space->unarchive();
|
||||
|
||||
// Create Activity
|
||||
// Create Activity when the space in unarchieved
|
||||
SpaceUnArchieved::instance()->from($space)->about($space->owner)->save();
|
||||
|
||||
if (Yii::$app->request->isAjax) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user