Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 14, 2023. It is now read-only.
/ICEcoderPublic archive

Commitfd2603a

Browse files
committed
removing unnecessary variable attributions
1 parent52d8440 commitfd2603a

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

‎lib/file-control-xhr.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,7 @@ function stitchChanges($fileLines) {
157157
}
158158

159159
// Set and return the newly stitched together content
160-
$contents =implode("",$fileLines);
161-
162-
return$contents;
160+
returnimplode("",$fileLines);
163161
}
164162

165163

‎lib/ftp-control.php‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ function ftpGetFileInfo($ftpConn, $directory = '.', $fileName) {
4747
$detailedList =$ftpListArrays['detailedList'];
4848

4949
// Now get the file info for our file
50-
$fileInfo =$detailedList[$fileName];
51-
52-
// Return the info
53-
return$fileInfo;
50+
// Return the info
51+
return$detailedList[$fileName];
5452
}
5553

5654
// Get contents over FTP
@@ -112,4 +110,4 @@ function ftpDelete($ftpConn, $type, $path) {
112110
returnftp_rmdir($ftpConn,$path);
113111
}
114112
}
115-
?>
113+
?>

‎lib/settings-common.php‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ function xssClean($data,$type) {
167167
}
168168
}
169169

170-
$output =str_replace($bad,$good,$data);
171-
return$output;
170+
returnstr_replace($bad,$good,$data);
172171
}
173172

174173

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp