File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1+ ### 0.11.0
2+ - Implement minimal language support.
3+
14### 0.10.1
25- Fix missed class import.
36
4245- Added option to restrict the api to selected page templates only.
4346- Added NullPageType for consistency with ProcessWire.
4447- Fixed some bugs.
45- - Added a Changelog file!
48+ - Added a Changelog file!
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ class ProcessGraphQL extends Process implements Module {
1313 {
1414 return array(
1515 'title' => 'GraphQL',
16- 'version' => '0.10.1 ',
16+ 'version' => '0.11.0 ',
1717 'summary' => 'GraphQL for ProcessWire.',
1818 'href' => 'https://github.com/dadish/ProcessGraphql',
19- 'singular' => true,
20- 'autoload' => 'process=ProcessTemplate',
19+ 'singular' => true,
20+ 'autoload' => 'process=ProcessTemplate',
2121 'icon' => 'object-group',
2222 );
2323 }
@@ -39,10 +39,10 @@ class ProcessGraphQL extends Process implements Module {
3939
4040 // do nothing if name has not changed
4141 if ($whatChanged !== 'name') return;
42-
42+
4343 // do nothing if template is not in legalTemplates
4444 if (!in_array($oldName, $this->legalTemplates)) return;
45-
45+
4646 // remove the oldName from the legalTemplates
4747 $index = array_search($oldName, $this->legalTemplates);
4848 $legalTemplates = array_slice($this->legalTemplates, 0);
You can’t perform that action at this time.
0 commit comments