mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
updated to use function for last commit
This commit is contained in:
@@ -1227,3 +1227,7 @@ function fping($host,$params) {
|
||||
function function_check($function) {
|
||||
return function_exists($function);
|
||||
}
|
||||
|
||||
function get_last_commit() {
|
||||
return `git log -n 1|head -n1`;
|
||||
}//end get_last_commit
|
||||
|
||||
Reference in New Issue
Block a user