Skip to content

Commit 9c3f2ad

Browse files
committed
updated plugin for moodle50
1 parent c1c78af commit 9c3f2ad

19 files changed

+40
-28
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ jobs:
5555
- php: '8.3'
5656
moodle-branch: 'MOODLE_404_STABLE'
5757
database: pgsql
58+
- php: '8.3'
59+
moodle-branch: 'MOODLE_405_STABLE'
60+
database: mariadb
61+
- php: '8.3'
62+
moodle-branch: 'MOODLE_405_STABLE'
63+
database: pgsql
64+
- php: '8.3'
65+
moodle-branch: 'MOODLE_500_STABLE'
66+
database: mariadb
67+
- php: '8.4'
68+
moodle-branch: 'MOODLE_500_STABLE'
69+
database: pgsql
5870

5971
steps:
6072
- name: Check out repository code

block_site_stats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Contains the class for the Site Statistics block.
1919
*
2020
* @package block_site_stats
21-
* @copyright 2024 Santosh Nagargoje <santosh.nag2217@gmail.com>
21+
* @copyright 2025 Santosh Nagargoje <santosh.nag2217@gmail.com>
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424
class block_site_stats extends block_base {

classes/observer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* The observer class needed by the site stats block.
2222
*
2323
* @package block_site_stats
24-
* @copyright 2024 Santosh Nagargoje <santosh.nag2217@gmail.com>
24+
* @copyright 2025 Santosh Nagargoje <santosh.nag2217@gmail.com>
2525
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2626
*/
2727
class observer {

classes/output/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Class containing data for Site Statistics block.
2424
*
2525
* @package block_site_stats
26-
* @copyright 2024 Santosh Nagargoje <santosh.nag2217@gmail.com>
26+
* @copyright 2025 Santosh Nagargoje <santosh.nag2217@gmail.com>
2727
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2828
*/
2929
class main implements \templatable, \renderable {

classes/output/renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* site stats block renderer
2222
*
2323
* @package block_site_stats
24-
* @copyright 2024 Santosh Nagargoje <santosh.nag2217@gmail.com>
24+
* @copyright 2025 Santosh Nagargoje <santosh.nag2217@gmail.com>
2525
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2626
*/
2727
class renderer extends plugin_renderer_base {

classes/privacy/provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Privacy Subsystem implementation for block_site_stats.
1919
*
2020
* @package block_site_stats
21-
* @copyright 2024 Santosh Nagargoje <santosh.nag2217@gmail.com>
21+
* @copyright 2025 Santosh Nagargoje <santosh.nag2217@gmail.com>
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

classes/task/diskusage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Calculates the disk usage
2222
*
2323
* @package block_site_stats
24-
* @copyright 2024 Santosh Nagargoje <santosh.nag2217@gmail.com>
24+
* @copyright 2025 Santosh Nagargoje <santosh.nag2217@gmail.com>
2525
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2626
*/
2727
class diskusage extends \core\task\scheduled_task {

db/access.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Site Statistics block caps.
1919
*
2020
* @package block_site_stats
21-
* @copyright 2024 Santosh Nagargoje <santosh.nag2217@gmail.com>
21+
* @copyright 2025 Santosh Nagargoje <santosh.nag2217@gmail.com>
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424
defined('MOODLE_INTERNAL') || die();

db/caches.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Defines the cache usage
1919
*
2020
* @package block_site_stats
21-
* @copyright 2024 Santosh Nagargoje <santosh.nag2217@gmail.com>
21+
* @copyright 2025 Santosh Nagargoje <santosh.nag2217@gmail.com>
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

db/events.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* This file defines observers needed by the site stats block.
1919
*
2020
* @package block_site_stats
21-
* @copyright 2024 Santosh Nagargoje <santosh.nag2217@gmail.com>
21+
* @copyright 2025 Santosh Nagargoje <santosh.nag2217@gmail.com>
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424
defined('MOODLE_INTERNAL') || die();

0 commit comments

Comments
 (0)