Skip to content

Commit

Permalink
Moved own classes to "classes/local" to comply to moodle standards as…
Browse files Browse the repository at this point in the history
… mentioned in Issue #26.
  • Loading branch information
st143971 committed Oct 12, 2024
1 parent 91365c1 commit 837e4ba
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion block_booksearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

use block_booksearch\data\data;
use block_booksearch\local\data;

defined('MOODLE_INTERNAL') || die();

Expand Down
4 changes: 2 additions & 2 deletions classes/external/search_book_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
use external_single_structure;
use external_value;

use block_booksearch\data\data;
use block_booksearch\search\search;
use block_booksearch\local\data;
use block_booksearch\local\search;
use context_course;
use invalid_parameter_exception;
use stdClass;
Expand Down
2 changes: 1 addition & 1 deletion classes/data/data.php → classes/local/data.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace block_booksearch\data;
namespace block_booksearch\local;

use context_module;
use moodle_url;
Expand Down
2 changes: 1 addition & 1 deletion classes/search/search.php → classes/local/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace block_booksearch\search;
namespace block_booksearch\local;

use stdClass;

Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*/
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2024081900; // The current plugin version (Date: YYYYMMDDHH).
$plugin->version = 2024101204; // The current plugin version (Date: YYYYMMDDHH).
$plugin->requires = 2020061510; // Requires this Moodle version.
$plugin->component = 'block_booksearch'; // Full name of the plugin (used for diagnostics).
$plugin->release = '3.2.0';
$plugin->release = '3.2.1';
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 837e4ba

Please sign in to comment.