Skip to content

Commit

Permalink
! Our str_ireplace function can support the argument as we support P…
Browse files Browse the repository at this point in the history
…HP 4.1.0+ (Subs-Compat.php)

 ! Move our custom search to its API (SearchAPI-Custom.php, Search.php)
 ! Added some more search API locations for better API support and bumped API version (Subs-Post.php, SplitTopics.php, Search.php, SearchAPI-*.php, ManageSearch.php)
 ! Starting doc changes in Subs.php
 ! Version changes
  • Loading branch information
Spuds committed Jan 25, 2012
1 parent b698494 commit c3f6282
Show file tree
Hide file tree
Showing 173 changed files with 965 additions and 255 deletions.
2 changes: 1 addition & 1 deletion SSI.php
Expand Up @@ -8,7 +8,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

// Don't do anything if SMF is already loaded.
Expand Down
2 changes: 1 addition & 1 deletion Sources/Admin.php
Expand Up @@ -11,7 +11,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/BoardIndex.php
Expand Up @@ -11,7 +11,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/Calendar.php
Expand Up @@ -11,7 +11,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/Class-Graphics.php
Expand Up @@ -16,7 +16,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/Class-Package.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DbExtra-mysql.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DbExtra-postgresql.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DbExtra-sqlite.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DbPackages-mysql.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DbPackages-postgresql.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DbPackages-sqlite.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DbSearch-mysql.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DbSearch-postgresql.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DbSearch-sqlite.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/Display.php
Expand Up @@ -11,7 +11,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/DumpDatabase.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/Errors.php
Expand Up @@ -12,7 +12,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/Groups.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/Help.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
11 changes: 4 additions & 7 deletions Sources/Karma.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down Expand Up @@ -38,9 +38,8 @@ function ModifyKarma()
checkSession('get');

// If you don't have enough posts, tough luck.
/**
* @todo Should this be dropped in favor of post group permissions? Should this apply to the member you are smiting/applauding?
*/
// @todo Should this be dropped in favor of post group permissions?
// Should this apply to the member you are smiting/applauding?
if (!$user_info['is_admin'] && $user_info['posts'] < $modSettings['karmaMinPosts'])
fatal_lang_error('not_enough_posts_karma', true, array($modSettings['karmaMinPosts']));

Expand Down Expand Up @@ -152,9 +151,7 @@ function ModifyKarma()
}
}

/**
* What's this? I dunno, what are you talking about? Never seen this before, nope. No sir.
*/
// What's this? I dunno, what are you talking about? Never seen this before, nope. No sir.
function BookOfUnknown()
{
global $context;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Load.php
Expand Up @@ -10,7 +10,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down
2 changes: 1 addition & 1 deletion Sources/LogInOut.php
Expand Up @@ -11,7 +11,7 @@
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
* @version 2.1 Alpha 1
*/

if (!defined('SMF'))
Expand Down

3 comments on commit c3f6282

@norv
Copy link
Contributor

@norv norv commented on c3f6282 May 2, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to see at least Logging.php got away from the refactoring. :)

@Spuds
Copy link
Contributor Author

@Spuds Spuds commented on c3f6282 May 2, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have blind spots in my vision :P

@norv
Copy link
Contributor

@norv norv commented on c3f6282 May 2, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't say this, but when I first saw it (a while ago) I looked immediately for its next revisions, to make sure there are any. That is, that it was intended. :D

Of course it's a sensible choice.

Please sign in to comment.