Skip to content

Commit

Permalink
Bug-fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikuolan committed Dec 12, 2017
1 parent c9be72b commit 03505e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Versioning guidelines for SemVer can be found at: http://www.semver.org/
versions CIDRAM >= 1.3.0 or phpMussel >= 1.2.0 (older versions won't be able
to be updated using this method). Package loaders must also be updated.

- [2017.12.12; Bug-fix; Maikuolan]: Typo in the "localUpdate" method; Fixed.

=== Version/Release 0.1.0 ===
FIRST TAGGED RELEASE.

Expand Down
4 changes: 2 additions & 2 deletions src/Cronable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace Maikuolan\Cronable;

/**
* Cronable v1.1.0 (last modified: 2017.12.06).
* Cronable v1.1.0 (last modified: 2017.12.12).
*
* Description: Cronable is a simple script that allows auto-updating CIDRAM
* and phpMussel via cronjobs.
Expand Down Expand Up @@ -206,7 +206,7 @@ public function localUpdate($Package, $Username, $Password, $Location)
} elseif (empty($Results['state_msg'])) {
$this->Output .= 'Everything already up-to-date at ' . $Identifier . ". :-)\n\n";
} else {
$this->Output .= 'Status for ' . $Identifier . " is as follows:\n" . $Results . "\n\n";
$this->Output .= 'Status for ' . $Identifier . " is as follows:\n" . $Results['state_msg'] . "\n\n";
}
} else {
$this->Output .= 'An error occurred while attempting to update at ' . $Identifier . ". :-(\n\n";
Expand Down

0 comments on commit 03505e4

Please sign in to comment.