- Patch #708144 by lilou: remove double semicolons at end of line.
parent
7e8709b2dc
commit
a2ec3c3852
|
@ -5198,7 +5198,7 @@ function drupal_render_cache_get($elements) {
|
|||
drupal_process_attached($cache->data);
|
||||
}
|
||||
// Return the rendered output.
|
||||
return $cache->data['#markup'];;
|
||||
return $cache->data['#markup'];
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -1586,7 +1586,7 @@ function comment_load_multiple($cids = array(), $conditions = array()) {
|
|||
*/
|
||||
function comment_load($cid) {
|
||||
$comment = comment_load_multiple(array($cid));
|
||||
return $comment ? $comment[$cid] : FALSE;;
|
||||
return $comment ? $comment[$cid] : FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -310,7 +310,7 @@ class PageEditTestCase extends DrupalWebTestCase {
|
|||
$langcode = LANGUAGE_NONE;
|
||||
$body_key = "body[$langcode][0][value]";
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(8);;
|
||||
$edit['title'] = $this->randomName(8);
|
||||
$edit[$body_key] = $this->randomName(16);
|
||||
$this->drupalPost('node/add/page', $edit, t('Save'));
|
||||
|
||||
|
|
|
@ -962,7 +962,7 @@ class Archive_Tar
|
|||
}
|
||||
|
||||
// ----- Calculate the stored filename
|
||||
$p_filename = $this->_translateWinPath($p_filename, false);;
|
||||
$p_filename = $this->_translateWinPath($p_filename, false);
|
||||
$v_stored_filename = $p_filename;
|
||||
if (strcmp($p_filename, $p_remove_dir) == 0) {
|
||||
return true;
|
||||
|
@ -1025,7 +1025,7 @@ class Archive_Tar
|
|||
}
|
||||
|
||||
// ----- Calculate the stored filename
|
||||
$p_filename = $this->_translateWinPath($p_filename, false);;
|
||||
$p_filename = $this->_translateWinPath($p_filename, false);
|
||||
|
||||
if (!$this->_writeHeaderBlock($p_filename, strlen($p_string),
|
||||
time(), 384, "", 0, 0))
|
||||
|
|
|
@ -45,7 +45,7 @@ class TriggerContentTestCase extends DrupalWebTestCase {
|
|||
// Make sure the text we want appears.
|
||||
$this->assertRaw(t('!post %title has been created.', array('!post' => 'Basic page', '%title' => $edit["title"])), t('Make sure the Basic page has actually been created'));
|
||||
// Action should have been fired.
|
||||
$loaded_node = $this->drupalGetNodeByTitle($edit["title"]);;
|
||||
$loaded_node = $this->drupalGetNodeByTitle($edit["title"]);
|
||||
$this->assertTrue($loaded_node->$info['property'] == $info['expected'], t('Make sure the @action action fired.', array('@action' => $info['name'])));
|
||||
// Leave action assigned for next test
|
||||
|
||||
|
|
Loading…
Reference in New Issue