File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,16 +38,14 @@ class PluginFormcreatorUpgradeTo2_13_10
3838 /** @var Migration */
3939 protected $ migration ;
4040
41- public function isResyncIssuesRequired ()
42- {
41+ public function isResyncIssuesRequired () {
4342 return false ;
4443 }
4544
4645 /**
4746 * @param Migration $migration
4847 */
49- public function upgrade (Migration $ migration )
50- {
48+ public function upgrade (Migration $ migration ) {
5149 $ this ->migration = $ migration ;
5250 $ this ->resizeWidgets ();
5351 }
@@ -58,8 +56,7 @@ public function upgrade(Migration $migration)
5856 *
5957 * @return void
6058 */
61- public function resizeWidgets ()
62- {
59+ public function resizeWidgets () {
6360 // Get container
6461 $ dashboard = new Dashboard ();
6562 $ found = $ dashboard ->getFromDB ("plugin_formcreator_issue_counters " );
Original file line number Diff line number Diff line change @@ -39,16 +39,14 @@ class PluginFormcreatorUpgradeTo2_13_7
3939 /** @var Migration */
4040 protected $ migration ;
4141
42- public function isResyncIssuesRequired ()
43- {
42+ public function isResyncIssuesRequired () {
4443 return false ;
4544 }
4645
4746 /**
4847 * @param Migration $migration
4948 */
50- public function upgrade (Migration $ migration )
51- {
49+ public function upgrade (Migration $ migration ) {
5250 $ this ->migration = $ migration ;
5351 $ this ->fixEncodingInQuestions ();
5452 $ this ->resizeWidgets ();
@@ -61,8 +59,7 @@ public function upgrade(Migration $migration)
6159 *
6260 * @return void
6361 */
64- public function fixEncodingInQuestions ()
65- {
62+ public function fixEncodingInQuestions () {
6663 global $ DB ;
6764
6865 $ table = 'glpi_plugin_formcreator_questions ' ;
@@ -99,8 +96,7 @@ public function fixEncodingInQuestions()
9996 *
10097 * @return void
10198 */
102- public function resizeWidgets ()
103- {
99+ public function resizeWidgets () {
104100 // Get container
105101 $ dashboard = new Dashboard ();
106102 $ found = $ dashboard ->getFromDB ("plugin_formcreator_issue_counters " );
You can’t perform that action at this time.
0 commit comments