[MediaWiki-commits] [Gerrit] Correct typo in variable naming - change (mediawiki...TimedMediaHandler)

2016-04-20 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Correct typo in variable naming
..


Correct typo in variable naming

Change-Id: I316e13c4af52c6090dd3e006fd6263e8c1dd1093
---
M WebVideoTranscode/WebVideoTranscode.php
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Paladox: Looks good to me, but someone else must approve
  Brion VIBBER: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/WebVideoTranscode/WebVideoTranscode.php 
b/WebVideoTranscode/WebVideoTranscode.php
index 9c460f0..00b5eaf 100644
--- a/WebVideoTranscode/WebVideoTranscode.php
+++ b/WebVideoTranscode/WebVideoTranscode.php
@@ -815,11 +815,11 @@
// Populate the per transcode state cache
foreach ( $res as $row ) {
// strip the out the "transcode_" from keys
-   $trascodeState = array();
+   $transcodeState = array();
foreach ( $row as $k => $v ) {
-   $trascodeState[ str_replace( 
'transcode_', '', $k ) ] = $v;
+   $transcodeState[ str_replace( 
'transcode_', '', $k ) ] = $v;
}
-   self::$transcodeState[ $fileName ][ 
$row->transcode_key ] = $trascodeState;
+   self::$transcodeState[ $fileName ][ 
$row->transcode_key ] = $transcodeState;
if ( $row->transcode_time_startwork != null
&& $row->transcode_time_startwork < 
$over
&& $row->transcode_time_success == null

-- 
To view, visit https://gerrit.wikimedia.org/r/284268
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I316e13c4af52c6090dd3e006fd6263e8c1dd1093
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: TheDJ 
Gerrit-Reviewer: Brion VIBBER 
Gerrit-Reviewer: Paladox 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Correct typo in variable naming - change (mediawiki...TimedMediaHandler)

2016-04-19 Thread TheDJ (Code Review)
TheDJ has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/284268

Change subject: Correct typo in variable naming
..

Correct typo in variable naming

Change-Id: I316e13c4af52c6090dd3e006fd6263e8c1dd1093
---
M WebVideoTranscode/WebVideoTranscode.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TimedMediaHandler 
refs/changes/68/284268/1

diff --git a/WebVideoTranscode/WebVideoTranscode.php 
b/WebVideoTranscode/WebVideoTranscode.php
index 9c460f0..00b5eaf 100644
--- a/WebVideoTranscode/WebVideoTranscode.php
+++ b/WebVideoTranscode/WebVideoTranscode.php
@@ -815,11 +815,11 @@
// Populate the per transcode state cache
foreach ( $res as $row ) {
// strip the out the "transcode_" from keys
-   $trascodeState = array();
+   $transcodeState = array();
foreach ( $row as $k => $v ) {
-   $trascodeState[ str_replace( 
'transcode_', '', $k ) ] = $v;
+   $transcodeState[ str_replace( 
'transcode_', '', $k ) ] = $v;
}
-   self::$transcodeState[ $fileName ][ 
$row->transcode_key ] = $trascodeState;
+   self::$transcodeState[ $fileName ][ 
$row->transcode_key ] = $transcodeState;
if ( $row->transcode_time_startwork != null
&& $row->transcode_time_startwork < 
$over
&& $row->transcode_time_success == null

-- 
To view, visit https://gerrit.wikimedia.org/r/284268
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I316e13c4af52c6090dd3e006fd6263e8c1dd1093
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: TheDJ 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits