mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
whitespace normalization
This commit is contained in:
parent
993643dd2a
commit
a4bc755cc7
12 changed files with 39 additions and 43 deletions
|
@ -165,7 +165,6 @@ class Debugger extends Object {
|
|||
$this->_templates['js']['code'] = '<div id="{:id}-code" class="cake-code-dump" ';
|
||||
$this->_templates['js']['code'] .= 'style="display: none;"><pre>{:code}</pre></div>';
|
||||
|
||||
|
||||
$e = '<pre class="cake-debug"><b>{:error}</b> ({:code}) : {:description} ';
|
||||
$e .= '[<b>{:path}</b>, line <b>{:line}]</b></pre>';
|
||||
$this->_templates['html']['error'] = $e;
|
||||
|
|
|
@ -367,7 +367,6 @@ class CakeSchema extends Object {
|
|||
}
|
||||
$out .="}\n";
|
||||
|
||||
|
||||
$File =& new File($path . DS . $file, true);
|
||||
$header = '$Id';
|
||||
$content = "<?php \n/* SVN FILE: {$header}$ */\n/* {$name} schema generated on: " . date('Y-m-d H:m:s') . " : ". time() . "*/\n{$out}?>";
|
||||
|
|
|
@ -204,6 +204,7 @@ class DboOracle extends DboSource {
|
|||
}
|
||||
return $this->connected;
|
||||
}
|
||||
|
||||
/**
|
||||
* Keeps track of the most recent Oracle error
|
||||
*
|
||||
|
@ -1072,7 +1073,6 @@ class DboOracle extends DboSource {
|
|||
$q = str_replace('= (', 'IN (', $q);
|
||||
$q = str_replace(' WHERE 1 = 1', '', $q);
|
||||
|
||||
|
||||
$q = $this->insertQueryData($q, null, $association, $assocData, $model, $linkModel, $stack);
|
||||
if ($q != false) {
|
||||
$res = $this->fetchAll($q, $model->cacheQueries, $model->alias);
|
||||
|
@ -1142,6 +1142,7 @@ class DboOracle extends DboSource {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a "drop table" statement for the given Schema object
|
||||
*
|
||||
|
|
|
@ -508,7 +508,6 @@ class AjaxHelper extends AppHelper {
|
|||
$options = $this->_optionsToString($options, array('paramName', 'indicator'));
|
||||
$options = $this->_buildOptions($options, $this->autoCompleteOptions);
|
||||
|
||||
|
||||
$text = $this->Form->text($field, $htmlOptions);
|
||||
$div = $this->Html->div(null, '', $divOptions);
|
||||
$script = "{$var}new Ajax.Autocompleter('{$htmlOptions['id']}', '{$divOptions['id']}', '";
|
||||
|
@ -1018,5 +1017,4 @@ class AjaxHelper extends AppHelper {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
|
@ -168,5 +168,4 @@ class XmlHelper extends AppHelper {
|
|||
return $data->toString($options + array('header' => false));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Reference in a new issue