Skip to content

Commit

Permalink
bump version to 13
Browse files Browse the repository at this point in the history
  • Loading branch information
frostschutz committed Sep 10, 2018
1 parent edc0db6 commit cb29019
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions PluginLibrary-Documentation.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
============================
PluginLibrary 12 for MyBB
PluginLibrary 13 for MyBB
============================

Documentation for Developers
Expand Down Expand Up @@ -103,13 +103,13 @@ Version Check
If you require a specific version (for features added in a later
version of *PluginLibrary*), in addition to the Dependency Check,
you can also check the version number of *PluginLibrary*. The
following example checks that *PluginLibrary* is at least version 12.
following example checks that *PluginLibrary* is at least version 13.

::

if($PL->version < 12)
if($PL->version < 13)
{
flash_message("PluginLibrary is too old.", "error");
flash_message("PluginLibrary is too old, please update.", "error");
admin_redirect("index.php?module=config-plugins");
}

Expand Down
6 changes: 3 additions & 3 deletions inc/plugins/pluginlibrary.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function pluginlibrary_info()
"website" => "http://mods.mybb.com/view/pluginlibrary",
"author" => "Andreas Klauer",
"authorsite" => "mailto:Andreas.Klauer@metamorpher.de",
"version" => "12",
"version" => "13",
"guid" => "839e9d72e2875a51fccbc0257dfeda03",
"compatibility" => "18*",
"codename" => "pluginlibrary",
Expand All @@ -50,7 +50,7 @@ function pluginlibrary_is_installed()
function pluginlibrary_install()
{
// Avoid unnecessary activation as a plugin with a friendly success message.
flash_message("The selected plugin does not have to be activated.", 'success');
flash_message("You have successfully installed PluginLibrary 13.", 'success');
admin_redirect("index.php?module=config-plugins");
}

Expand All @@ -73,7 +73,7 @@ class PluginLibrary
/**
* Version number.
*/
public $version = 12;
public $version = 13;

/**
* Cache handler.
Expand Down

0 comments on commit cb29019

Please sign in to comment.