Skip to content

Commit

Permalink
[mms] Add Horde_Stream#rewind().
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Sep 24, 2013
1 parent 68f0931 commit 0ec7e96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/Stream/lib/Horde/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,12 @@ public function pos()
* Rewind the internal stream to the beginning.
*
* @since 1.4.0
*
* @return boolean True if successful.
*/
public function rewind()
{
rewind($this->stream);
return rewind($this->stream);
}

/**
Expand Down
2 changes: 2 additions & 0 deletions framework/Stream/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [mms] Add Horde_Stream#rewind().
* [mms] Add Horde_Stream#pos().
* [mms] Add Horde_Stream#__destruct().
</notes>
Expand Down Expand Up @@ -195,6 +196,7 @@
<date>2013-08-05</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [mms] Add Horde_Stream#rewind().
* [mms] Add Horde_Stream#pos().
* [mms] Add Horde_Stream#__destruct().
</notes>
Expand Down

0 comments on commit 0ec7e96

Please sign in to comment.