Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
cd615e18
Commit
cd615e18
authored
May 23, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: whitespace and style
parent
a72ac678
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
cleanfile
scripts/cleanfile
+1
-1
SettingsController.php
...rollers/OPNsense/TrafficShaper/Api/SettingsController.php
+0
-1
UIModelGrid.php
src/opnsense/mvc/app/library/OPNsense/Base/UIModelGrid.php
+9
-4
No files found.
scripts/cleanfile
View file @
cd615e18
#!/usr/bin/
perl -w
#!/usr/bin/
env perl
#
# Clean a text file -- or directory of text files -- of stealth whitespace.
# WARNING: this can be a highly destructive operation. Use with caution.
...
...
src/opnsense/mvc/app/controllers/OPNsense/TrafficShaper/Api/SettingsController.php
View file @
cd615e18
...
...
@@ -88,5 +88,4 @@ class SettingsController extends ApiControllerBase
}
}
}
src/opnsense/mvc/app/library/OPNsense/Base/UIModelGrid.php
View file @
cd615e18
...
...
@@ -58,8 +58,14 @@ class UIModelGrid
* @param string $searchPhrase search phrase to use
* @return array
*/
public
function
fetch
(
$fields
,
$itemsPerPage
,
$currentPage
,
$sortBy
=
array
(),
$sortDescending
=
false
,
$searchPhrase
=
''
)
{
public
function
fetch
(
$fields
,
$itemsPerPage
,
$currentPage
,
$sortBy
=
array
(),
$sortDescending
=
false
,
$searchPhrase
=
''
)
{
$result
=
array
(
'rows'
=>
array
());
$recordIndex
=
0
;
...
...
@@ -109,5 +115,4 @@ class UIModelGrid
return
$result
;
}
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment