mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 06:08:21 +01:00
Fix: #3513 Profile schema cache not refreshed after adding new profile field
This commit is contained in:
parent
1af27b41d3
commit
5300874f64
@ -14,6 +14,7 @@ HumHub Change Log
|
||||
- Chng: Switched from [bootstrap-tour](https://github.com/sorich87/bootstrap-tour) to [bootstrap-tourist](https://github.com/IGreatlyDislikeJavascript/bootstrap-tourist) due to incompatibility to bootstrap v3.4.1
|
||||
- Enh: Added `humhub.modules.tour` module for handling tour logic
|
||||
- Fix: Added PHP 7.3 compatibility workaround for ZF2 ArrayObject
|
||||
- Fix: #3513 Profile schema cache not refreshed after adding new profile field
|
||||
|
||||
|
||||
1.3.12 (March 26, 2019)
|
||||
|
@ -193,7 +193,7 @@ class BaseType extends Model
|
||||
throw new Exception('Could not save profile field!');
|
||||
}
|
||||
// Clear Database Schema
|
||||
Yii::$app->getDb()->getSchema()->getTableSchema(Profile::tableName(), true);
|
||||
Yii::$app->getDb()->getSchema()->refreshTableSchema(Profile::tableName());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user