Skip to content

Commit

Permalink
change in build TOC for help too
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepereiradasilva committed Jan 19, 2016
1 parent c69f831 commit 47287ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/helpTOC.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function doExecute()
{
// Get the version data for the script
$version = new JVersion;
$helpVersion = str_replace('.', '', $version->RELEASE);
$helpVersion = str_replace('.', '', $version::RELEASE);
$namespace = 'Help' . $helpVersion . ':';

// Set up options for JMediawiki
Expand All @@ -63,7 +63,7 @@ public function doExecute()

// Get the category members (local hack)
$this->out('Fetching data from docs wiki', true);
$categoryMembers = $mediawiki->categories->getCategoryMembers('Category:Help_screen_' . $version->RELEASE, null, 'max');
$categoryMembers = $mediawiki->categories->getCategoryMembers('Category:Help_screen_' . $version::RELEASE, null, 'max');

$members = array();

Expand Down

0 comments on commit 47287ce

Please sign in to comment.