Skip to content

Commit 22fbc79

Browse files
committed
Editorconfig trailing whitespace
1 parent dc6c25d commit 22fbc79

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

system/user/addons/wiki/addon.setup.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
'Category' => 'Model\Category',
1818
'CategoryArticle' => 'Model\CategoryArticle',
1919
'Search' => 'Model\Search',
20-
'Upload' => 'Model\Upload'
21-
20+
'Upload' => 'Model\Upload'
21+
2222
),
2323

2424
'models.dependencies' => array(
@@ -30,4 +30,4 @@
3030
'ee:File'
3131
)
3232
)
33-
);
33+
);

system/user/addons/wiki/mcp.wiki.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function get_member_groups()
255255
* Provides Wiki Edit Screen HTML
256256
*
257257
* @access public
258-
* @param int $wiki_id The ID of the wiki to edit
258+
* @param int $wiki_id The ID of the wiki to edit
259259
* @return string The page
260260
*/
261261
public function edit_wiki($wiki_id = 0)
@@ -277,11 +277,11 @@ public function edit_wiki($wiki_id = 0)
277277
else
278278
{
279279
$valid_wiki = ee('Model')->make('wiki:Wiki');
280-
280+
281281
// Let's give it some default values
282282
$valid_wiki->wiki_revision_limit = 200;
283283
$valid_wiki->wiki_author_limit = 75;
284-
284+
285285
// Only auto-complete short name for new wikis
286286
ee()->cp->add_js_script('plugin', 'ee_url_title');
287287
ee()->javascript->output('
@@ -430,7 +430,7 @@ private function validateWikiSettings($wiki)
430430

431431
$validate[$row_id] = $model;
432432
}
433-
433+
434434

435435
foreach ($validate as $row_id => $model)
436436
{
@@ -580,7 +580,7 @@ function make_form($wiki_id, $wiki = NULL)
580580
'fields' => array(
581581
'wiki_revision_limit' => array(
582582
'type' => 'text',
583-
'value' => $wiki->wiki_revision_limit,
583+
'value' => $wiki->wiki_revision_limit,
584584
'required' => TRUE
585585
)
586586
)

system/user/addons/wiki/upd.wiki.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function install()
5353
KEY `page_moderated` (`page_moderated`),
5454
KEY `has_categories` (`has_categories`)
5555
) ENGINE=MyISAM DEFAULT CHARSET=utf8";
56-
56+
5757

5858
$sql[] = "CREATE TABLE IF NOT EXISTS `exp_wiki_revisions` (
5959
`revision_id` int(12) unsigned NOT NULL auto_increment,
@@ -300,14 +300,14 @@ function update($current='')
300300
'enabled' => 'y'
301301
));
302302
}
303-
304-
303+
304+
305305
if (version_compare($current, '3.0', '<'))
306-
{
307-
// With 3.0 we no longer need the extension as the model
306+
{
307+
// With 3.0 we no longer need the extension as the model
308308
// takes care of it
309-
ee()->db->delete('extensions', array('class' => 'Wiki_ext'));
310-
}
309+
ee()->db->delete('extensions', array('class' => 'Wiki_ext'));
310+
}
311311

312312
return TRUE;
313313
}
@@ -316,4 +316,4 @@ function update($current='')
316316
/* END Class */
317317

318318
/* End of file upd.wiki.php */
319-
/* Location: ./system/expressionengine/modules/wiki/upd.wiki.php */
319+
/* Location: ./system/expressionengine/modules/wiki/upd.wiki.php */

0 commit comments

Comments
 (0)