dannynimmo/craftcms-sortbyfield — pull request #1 by iamdarrenhall (2013-10-27 22:25:32+00:00)
Title: Fix deprecated method name

The current version of Craft generates the following log warning:

[warning] [application] The “hook” prefix on the Craft\SortByFieldPlugin::hookAddTwigExtension() method name has been deprecated. It should be renamed to addTwigExtension().

The attached commit fixes that :-)