Calling function from other module does not work with module_load_include I'm building a custom module that uses functions from other modules. Specifically the node_clone module. I'm building a custom module to clone a certain content type from a selected user to another selected user. 

In my custom module I'm adding those lines: 

module_load_include('inc', 'node_clone', 'clone.pages');
clone_node_save($nid);


The function clone_node_save is defined in the module "node_clone", in the root folder of that module,

function clone_node_save($nid, $account = NULL) {
//Function Content
}


inside a file called clone.pages.inc

yet those 2 lines of code give me the error Fatal error: Call to undefined function clone_node_save()

I also tried making a function inside node_clone.module that calls clone_node_save but that gets the same error. 

This is drupal 7
You don't include the file extension in the third argument.

So this:

module_load_include('inc', 'node_clone', 'clone.pages.inc');


Should be this:

module_load_include('inc', 'node_clone', 'clone.pages');