Skip to content

Commit

Permalink
Does some files cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
JB Lebrun committed Aug 31, 2018
1 parent 5da2eeb commit 78b63b7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions engine/lib/object/Plugin.php.inc
Expand Up @@ -182,7 +182,7 @@ abstract class Plugin {
if (file_exists($this->plugin_site_path.'/'.$file)) {
require($this->plugin_site_path.'/'.$file);
return true;
} else if (file_exists ($this->plugin_path.'/'.$file)) {
} else if (file_exists($this->plugin_path.'/'.$file)) {
require($this->plugin_path.'/'.$file);
return true;
}
Expand Down Expand Up @@ -255,7 +255,7 @@ abstract class Plugin {
* @param string $default
* @return string
*/
public function get_fileURL ($file='', $path=null, $default='') {
public function get_fileURL($file='', $path=null, $default='') {
global $camyks;

switch ($path) {
Expand All @@ -281,7 +281,7 @@ abstract class Plugin {
* @param string $default
* @return string
*/
public function get_varFileURL ($file='', $path=false, $default='') {
public function get_varFileURL($file='', $path=false, $default='') {
global $camyks;

switch ($path) {
Expand Down Expand Up @@ -533,6 +533,8 @@ abstract class Plugin {

/**
* Update plugin.
* @param string $version
* @param string $more
* @return boolean
*/
public function update($version, $more='') {
Expand Down Expand Up @@ -593,7 +595,7 @@ abstract class Plugin {
global $camyks;
return $camyks->get_translation(strtolower($this->name).'_'.$value, $data);
}

/**
* Load available language files for the plugin
* @return void
Expand Down Expand Up @@ -711,9 +713,9 @@ abstract class Plugin {
* @return void
*/
public function execute_onCaMykSTerminate() {}

/* Request mode methods */

/**
* Return HTML request mode link.
* @param array $params
Expand All @@ -725,7 +727,7 @@ abstract class Plugin {
$params = array_merge(array($this->plugin_type=>$this->name), $params);
return $camyks->get_requestLink($params);
}

/**
* Return JavaScript request mode link.
* @param array $params
Expand Down
2 changes: 1 addition & 1 deletion engine/lib/tool/clientDevices/BlackBerry.php.inc
Expand Up @@ -2,7 +2,7 @@
/**
* @brief Blackberry client devices specific methods
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Blackberry.php.inc
* @file engine/lib/tool/clientDevices/BlackBerry.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0
* @date Creation: Aug 2018
Expand Down
2 changes: 1 addition & 1 deletion plugin/template/WebPage/style.css
Expand Up @@ -5,7 +5,7 @@
* @author CaMykS Team
* @version 1.0
* @date Creation: Nov 2007
* @date Modification: Apr 2018
* @date Modification: Aug 2018
* @copyright 2007 - 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Expand Down

0 comments on commit 78b63b7

Please sign in to comment.