Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

small spelling updates and composer improvements

  • Loading branch information...
commit 080997cd65f24f4b7724924dfb4f212474b20045 1 parent 29ce5dd
@marcoraddatz authored
Showing with 3 additions and 4 deletions.
  1. +3 −3 Cronjob/Cronjob.controller.php
  2. +0 −1  composer.json
View
6 Cronjob/Cronjob.controller.php
@@ -75,11 +75,11 @@ public function __construct(&$aRequest, &$aSession, &$oPlugins) {
// check for the file and read its timestamp
$sBackupFile = PATH_STANDARD . '/app/backup/lastrun.timestamp';
if (file_exists($sBackupFile)) {
- $oFile = @fopen($sBackupFile, 'r');
+ $oFile = @fopen($sBackupFile, 'r');
$sContent = @fgets($oFile);
@fclose($oFile);
- $this->_iLastRun = (int)$sContent;
+ $this->_iLastRun = (int) $sContent;
}
# now register some events with the pluginmanager
@@ -442,7 +442,7 @@ private function _writeTimestamp($iTimestamp = 0) {
$aData['subject'] = I18n::get('cronjob.mail.subject', $sBackupName);
$aData['message'] = I18n::get('cronjob.mail.body');
$aData['to_address'] = WEBSITE_MAIL;
- $aData['attachement'] = $sBackupPath;
+ $aData['attachment'] = $sBackupPath;
return $oMails->create($aData);
}
View
1  composer.json
@@ -10,7 +10,6 @@
"php": ">=5.3.0",
"candycms/core": ">=2.1.0",
-
"facebook/php-sdk": "3.2.*",
"dflydev/markdown" : "1.0.*",
"cnlpete/image-metadata-parser" : "0.0.*"
Please sign in to comment.
Something went wrong with that request. Please try again.