CodeIgniter Forums
CI 2.0.2 - Last two lines in "./system/libraries/Cache/drivers/Cache_dummy.php" - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: CI 2.0.2 - Last two lines in "./system/libraries/Cache/drivers/Cache_dummy.php" (/showthread.php?tid=40743)



CI 2.0.2 - Last two lines in "./system/libraries/Cache/drivers/Cache_dummy.php" - El Forum - 04-17-2011

[eluser]Unknown[/eluser]
Look at the last two lines (comment). They should be
Code:
/* End of file Cache_dummy.php */
/* Location: ./system/libraries/Cache/drivers/Cache_dummy.php */

but they are
Code:
/* End of file Cache_apc.php */
/* Location: ./system/libraries/Cache/drivers/Cache_apc.php */



CI 2.0.2 - Last two lines in "./system/libraries/Cache/drivers/Cache_dummy.php" - El Forum - 04-17-2011

[eluser]kr1pt[/eluser]
Those are just comments


CI 2.0.2 - Last two lines in "./system/libraries/Cache/drivers/Cache_dummy.php" - El Forum - 04-17-2011

[eluser]Unknown[/eluser]
Yes they are, but they had wrong content. (OK, it is not a bug in code, but "bugs" in comments should be fixed, too. "Cache_dummy.php" is NOT "Cache_apc.php". It seems to be a copy&paste;-"bug")


CI 2.0.2 - Last two lines in "./system/libraries/Cache/drivers/Cache_dummy.php" - El Forum - 04-17-2011

[eluser]Eric Barnes[/eluser]
I don't think it really matters but fixed now anyway Smile
https://bitbucket.org/ellislab/codeigniter-reactor/changeset/31aa2697d43c


CI 2.0.2 - Last two lines in "./system/libraries/Cache/drivers/Cache_dummy.php" - El Forum - 04-19-2011

[eluser]doStuff[/eluser]
Yeah, wrong comments are worse than no comments.

Good job spotting it.