File tree 3 files changed +14
-1
lines changed
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,14 @@ public static function &reloadData()
116
116
return $ configData ;
117
117
}
118
118
119
+ /**
120
+ * Reset the config data in registry
121
+ */
122
+ public static function resetData ()
123
+ {
124
+ Registry::set ('configData ' , static ::reloadData ());
125
+ }
126
+
119
127
/**
120
128
* Set the path to the configuration file.
121
129
*
Original file line number Diff line number Diff line change @@ -546,6 +546,8 @@ public function updateConfig($configParams)
546
546
$ this ->wroteConfig = false ;
547
547
}
548
548
549
+ Config::resetData ();
550
+
549
551
return true ;
550
552
}
551
553
@@ -949,8 +951,11 @@ public function checkPhpVersion()
949
951
*/
950
952
public function updateRorRegistryDataset (): bool
951
953
{
954
+ PKPApplication::upgrade ();
955
+
952
956
$ updateRorRegistryDataset = new UpdateRorRegistryDataset ();
953
957
$ updateRorRegistryDataset ->execute ();
958
+
954
959
return true ;
955
960
}
956
961
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function __construct(private array $args = [])
65
65
if (!$ success ) {
66
66
// files directory wrong configuration?
67
67
assert (false );
68
- $ this ->executionLogFile = null ;
68
+ $ this ->executionLogFile = '' ;
69
69
}
70
70
}
71
71
}
You can’t perform that action at this time.
0 commit comments